]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
* src/domain_conf.c: fix a parsing error for input devices
authorDaniel Veillard <veillard@redhat.com>
Tue, 2 Sep 2008 15:33:39 +0000 (15:33 +0000)
committerDaniel Veillard <veillard@redhat.com>
Tue, 2 Sep 2008 15:33:39 +0000 (15:33 +0000)
  patch by Cole Robinson
daniel

ChangeLog
src/domain_conf.c

index 72c9e10a25b8ff8e4ce960d3f89242a594ae45f7..b47840623d503f43c922e882327a1692fac79e1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index d482e689aa6daf820809070e2f1a4abd001fc0d4..6b2347400ba609a00d0c3a7adc614394c0e1b22d 100644 (file)
@@ -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")) {