mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-16 18:25:08 -06:00
* 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>
|
||||
|
||||
* 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)))
|
||||
goto error;
|
||||
} 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)))
|
||||
goto error;
|
||||
} else if (xmlStrEqual(node->name, BAD_CAST "sound")) {
|
||||
|
Loading…
Reference in New Issue
Block a user