* src/domain_conf.c: fix a parsing error for input devices
patch by Cole Robinson daniel
This commit is contained in:
parent
b8f2610280
commit
10ccfc92f3
@ -1,3 +1,8 @@
|
|||||||
|
Tue Sep 2 17:30:50 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/domain_conf.c: fix a parsing error for input devices
|
||||||
|
patch by Cole Robinson
|
||||||
|
|
||||||
Tue Sep 2 16:55:01 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
Tue Sep 2 16:55:01 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* src/qemu_conf.c: patch from Cole Robinson to report in the
|
* src/qemu_conf.c: patch from Cole Robinson to report in the
|
||||||
|
@ -1656,7 +1656,7 @@ virDomainDeviceDefPtr virDomainDeviceDefParse(virConnectPtr conn,
|
|||||||
if (!(dev->data.net = virDomainNetDefParseXML(conn, node)))
|
if (!(dev->data.net = virDomainNetDefParseXML(conn, node)))
|
||||||
goto error;
|
goto error;
|
||||||
} else if (xmlStrEqual(node->name, BAD_CAST "input")) {
|
} else if (xmlStrEqual(node->name, BAD_CAST "input")) {
|
||||||
dev->type = VIR_DOMAIN_DEVICE_DISK;
|
dev->type = VIR_DOMAIN_DEVICE_INPUT;
|
||||||
if (!(dev->data.input = virDomainInputDefParseXML(conn, def->os.type, node)))
|
if (!(dev->data.input = virDomainInputDefParseXML(conn, def->os.type, node)))
|
||||||
goto error;
|
goto error;
|
||||||
} else if (xmlStrEqual(node->name, BAD_CAST "sound")) {
|
} else if (xmlStrEqual(node->name, BAD_CAST "sound")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user