commit 75150ac2536c427f74875fc563abf2fc06595dda
Author: Cole Robinson <crobinso@dhcp-100-19-219.bos.redhat.com>
Date:   Thu Aug 21 13:27:38 2008 -0400

    Fix setting input device type in virDomainDeviceDefParse.

diff --git a/src/domain_conf.c b/src/domain_conf.c
index d482e68..6b23474 100644
--- a/src/domain_conf.c
+++ b/src/domain_conf.c
@@ -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")) {
