提交 10ccfc92 编写于 作者: D Daniel Veillard

* src/domain_conf.c: fix a parsing error for input devices

  patch by Cole Robinson
daniel
上级 b8f26102
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")) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册