]> xenbits.xensource.com Git - libvirt.git/commitdiff
domain: add implicit USB controller
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Wed, 8 Feb 2012 00:48:25 +0000 (01:48 +0100)
committerEric Blake <eblake@redhat.com>
Thu, 9 Feb 2012 23:44:57 +0000 (16:44 -0700)
Some tools, such as virt-manager, prefers having the default USB
controller explicit in the XML document. This patch makes sure there
is one. With this patch, it is now possible to switch from USB1 to
USB2 from the release 0.9.1 of virt-manager.

Fix tests to pass with this change.

162 files changed:
src/conf/domain_conf.c
src/qemu/qemu_command.c
tests/define-dev-segfault
tests/domainsnapshotxml2xmlout/disk_snapshot.xml
tests/domainsnapshotxml2xmlout/full_domain.xml
tests/domainsnapshotxml2xmlout/metadata.xml
tests/qemuxml2argvdata/qemuxml2argv-bios.xml
tests/qemuxml2argvdata/qemuxml2argv-blkdeviotune.xml
tests/qemuxml2argvdata/qemuxml2argv-blkiotune-device.xml
tests/qemuxml2argvdata/qemuxml2argv-blkiotune.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-cdrom.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-complex-bootindex.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-complex.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-floppy.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable-drive-bootindex.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable-drive.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-enable.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-multi.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-network.xml
tests/qemuxml2argvdata/qemuxml2argv-boot-order.xml
tests/qemuxml2argvdata/qemuxml2argv-bootloader.xml
tests/qemuxml2argvdata/qemuxml2argv-channel-guestfwd.xml
tests/qemuxml2argvdata/qemuxml2argv-channel-spicevmc-old.xml
tests/qemuxml2argvdata/qemuxml2argv-channel-spicevmc.xml
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-auto.xml
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-clock-france.xml
tests/qemuxml2argvdata/qemuxml2argv-clock-localtime.xml
tests/qemuxml2argvdata/qemuxml2argv-clock-utc.xml
tests/qemuxml2argvdata/qemuxml2argv-clock-variable.xml
tests/qemuxml2argvdata/qemuxml2argv-console-compat-auto.xml
tests/qemuxml2argvdata/qemuxml2argv-console-compat-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-console-compat.xml
tests/qemuxml2argvdata/qemuxml2argv-console-virtio-many.xml
tests/qemuxml2argvdata/qemuxml2argv-console-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-host-kvmclock.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-kvmclock.xml
tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-aio.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-copy_on_read.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-cdrom.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-disk.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-directsync.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-unsafe.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v1-none.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v1-wb.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v1-wt.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-none.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wb.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-cache-v2-wt.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-stop.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-wreport-rignore.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fat.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fmt-qcow.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-nbd.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-rbd-auth.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-rbd-ceph-env.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-rbd.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-sheepdog.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-no-boot.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-readonly-disk.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-readonly-no-device.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-floppy.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-ioeventfd.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-many.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-order.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-sata-device.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-device-auto.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-device.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-virtio-scsi.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-vscsi.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-snapshot.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-transient.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-usb.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-xenvbd.xml
tests/qemuxml2argvdata/qemuxml2argv-encrypted-disk.xml
tests/qemuxml2argvdata/qemuxml2argv-event_idx.xml
tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.xml
tests/qemuxml2argvdata/qemuxml2argv-fs9p.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-listen-network.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-listen-network2.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-compression.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-qxl-vga.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-socket.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
tests/qemuxml2argvdata/qemuxml2argv-hugepages.xml
tests/qemuxml2argvdata/qemuxml2argv-input-usbmouse-addr.xml
tests/qemuxml2argvdata/qemuxml2argv-input-usbmouse.xml
tests/qemuxml2argvdata/qemuxml2argv-input-usbtablet.xml
tests/qemuxml2argvdata/qemuxml2argv-input-xen.xml
tests/qemuxml2argvdata/qemuxml2argv-kvmclock.xml
tests/qemuxml2argvdata/qemuxml2argv-lease.xml
tests/qemuxml2argvdata/qemuxml2argv-memtune.xml
tests/qemuxml2argvdata/qemuxml2argv-migrate.xml
tests/qemuxml2argvdata/qemuxml2argv-minimal.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-acpi.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-no-reboot.xml
tests/qemuxml2argvdata/qemuxml2argv-misc-uuid.xml
tests/qemuxml2argvdata/qemuxml2argv-monitor-json.xml
tests/qemuxml2argvdata/qemuxml2argv-net-bandwidth.xml
tests/qemuxml2argvdata/qemuxml2argv-net-eth-ifname.xml
tests/qemuxml2argvdata/qemuxml2argv-net-eth.xml
tests/qemuxml2argvdata/qemuxml2argv-net-user.xml
tests/qemuxml2argvdata/qemuxml2argv-net-virtio-device.xml
tests/qemuxml2argvdata/qemuxml2argv-net-virtio-netdev.xml
tests/qemuxml2argvdata/qemuxml2argv-net-virtio-network-portgroup.xml
tests/qemuxml2argvdata/qemuxml2argv-net-virtio.xml
tests/qemuxml2argvdata/qemuxml2argv-nographics-vga.xml
tests/qemuxml2argvdata/qemuxml2argv-parallel-tcp.xml
tests/qemuxml2argvdata/qemuxml2argv-pci-rom.xml
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns-no-env.xml
tests/qemuxml2argvdata/qemuxml2argv-restore-v1.xml
tests/qemuxml2argvdata/qemuxml2argv-restore-v2-fd.xml
tests/qemuxml2argvdata/qemuxml2argv-restore-v2.xml
tests/qemuxml2argvdata/qemuxml2argv-seclabel-dynamic-baselabel.xml
tests/qemuxml2argvdata/qemuxml2argv-seclabel-dynamic-override.xml
tests/qemuxml2argvdata/qemuxml2argv-seclabel-none.xml
tests/qemuxml2argvdata/qemuxml2argv-seclabel-static.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-dev-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-dev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-file-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-file.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-many-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-many.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-pty-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-pty.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-udp-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-udp.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-unix-chardev.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-unix.xml
tests/qemuxml2argvdata/qemuxml2argv-serial-vc.xml
tests/qemuxml2argvdata/qemuxml2argv-smp.xml
tests/qemuxml2argvdata/qemuxml2argv-sound.xml
tests/qemuxml2argvdata/qemuxml2argv-virtio-lun.xml
tests/qemuxml2argvdata/qemuxml2argv-watchdog.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-balloon-device-auto.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-virtio-auto.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-console-compat-auto.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-console-virtio.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-cdrom-empty.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-scsi-device-auto.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-listen-network2.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-spice-timeout.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-metadata.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-serial-target-port-auto.xml

index 81836e5d4f2dc052eeabae3ee70699b86336c8e4..a09a50624169dbab221b26bc9e8d04423eb4bef5 100644 (file)
@@ -619,7 +619,6 @@ VIR_ENUM_IMPL(virDomainStartupPolicy, VIR_DOMAIN_STARTUP_POLICY_LAST,
 #define VIR_DOMAIN_XML_WRITE_FLAGS  VIR_DOMAIN_XML_SECURE
 #define VIR_DOMAIN_XML_READ_FLAGS   VIR_DOMAIN_XML_INACTIVE
 
-
 void
 virBlkioDeviceWeightArrayClear(virBlkioDeviceWeightPtr deviceWeights,
                                int ndevices)
@@ -7091,6 +7090,49 @@ error:
 }
 
 
+static int virDomainDefMaybeAddController(virDomainDefPtr def,
+                                          int type,
+                                          int idx)
+{
+    int found = 0;
+    int i;
+    virDomainControllerDefPtr cont;
+
+    for (i = 0 ; (i < def->ncontrollers) && !found; i++) {
+        if (def->controllers[i]->type == type &&
+            def->controllers[i]->idx == idx)
+            found = 1;
+    }
+
+    if (found)
+        return 0;
+
+    if (VIR_ALLOC(cont) < 0) {
+        virReportOOMError();
+        return -1;
+    }
+
+    cont->type = type;
+    cont->idx = idx;
+    cont->model = -1;
+
+    if (cont->type == VIR_DOMAIN_CONTROLLER_TYPE_VIRTIO_SERIAL) {
+        cont->opts.vioserial.ports = -1;
+        cont->opts.vioserial.vectors = -1;
+    }
+
+
+    if (VIR_REALLOC_N(def->controllers, def->ncontrollers+1) < 0) {
+        VIR_FREE(cont);
+        virReportOOMError();
+        return -1;
+    }
+    def->controllers[def->ncontrollers] = cont;
+    def->ncontrollers++;
+
+    return 0;
+}
+
 static virDomainDefPtr virDomainDefParseXML(virCapsPtr caps,
                                             xmlDocPtr xml,
                                             xmlNodePtr root,
@@ -7649,6 +7691,12 @@ static virDomainDefPtr virDomainDefParseXML(virCapsPtr caps,
     }
     VIR_FREE(nodes);
 
+    if (def->virtType == VIR_DOMAIN_VIRT_QEMU ||
+        def->virtType == VIR_DOMAIN_VIRT_KQEMU ||
+        def->virtType == VIR_DOMAIN_VIRT_KVM)
+        if (virDomainDefMaybeAddController(def, VIR_DOMAIN_CONTROLLER_TYPE_USB, 0) < 0)
+            goto error;
+
     /* analysis of the resource leases */
     if ((n = virXPathNodeSet("./devices/lease", ctxt, &nodes)) < 0) {
         virDomainReportError(VIR_ERR_INTERNAL_ERROR,
@@ -9378,49 +9426,6 @@ cleanup:
 }
 
 
-static int virDomainDefMaybeAddController(virDomainDefPtr def,
-                                          int type,
-                                          int idx)
-{
-    int found = 0;
-    int i;
-    virDomainControllerDefPtr cont;
-
-    for (i = 0 ; (i < def->ncontrollers) && !found; i++) {
-        if (def->controllers[i]->type == type &&
-            def->controllers[i]->idx == idx)
-            found = 1;
-    }
-
-    if (found)
-        return 0;
-
-    if (VIR_ALLOC(cont) < 0) {
-        virReportOOMError();
-        return -1;
-    }
-
-    cont->type = type;
-    cont->idx = idx;
-    cont->model = -1;
-
-    if (cont->type == VIR_DOMAIN_CONTROLLER_TYPE_VIRTIO_SERIAL) {
-        cont->opts.vioserial.ports = -1;
-        cont->opts.vioserial.vectors = -1;
-    }
-
-
-    if (VIR_REALLOC_N(def->controllers, def->ncontrollers+1) < 0) {
-        VIR_FREE(cont);
-        virReportOOMError();
-        return -1;
-    }
-    def->controllers[def->ncontrollers] = cont;
-    def->ncontrollers++;
-
-    return 0;
-}
-
 static int virDomainDefAddDiskControllersForType(virDomainDefPtr def,
                                                  int controllerType,
                                                  int diskBus)
index a346f1e1c66d7d66832813107d84c7aee91dd8b2..1b92aa4174a9568a59b8f27e5a8070e867a01210 100644 (file)
@@ -7620,7 +7620,13 @@ virDomainDefPtr qemuParseCommandLine(virCapsPtr caps,
             WANT_VALUE();
             /* ignore, generted on the fly */
         } else if (STREQ(arg, "-usb")) {
-            /* ignore, always added by libvirt */
+            virDomainControllerDefPtr ctldef;
+            if (VIR_ALLOC(ctldef) < 0)
+                goto no_memory;
+            ctldef->type = VIR_DOMAIN_CONTROLLER_TYPE_USB;
+            ctldef->idx = 0;
+            ctldef->model = -1;
+            virDomainControllerInsert(def, ctldef);
         } else if (STREQ(arg, "-pidfile")) {
             WANT_VALUE();
             if (pidfile)
index 3feff4668b2d6238085acb32b6c712fc58d18830..0a0532bdd8416fc01414ef2db8ab427bf61def4a 100755 (executable)
@@ -36,6 +36,7 @@ cat <<\EOF > D.xml || fail=1
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-kvm</emulator>
+    <controller type='usb' index='0'/>
     <serial type='pty'>
       <target port='0'/>
     </serial>
index a0a0965479747cec1d8b4fdd4bfe3db97a3d2cb0..91dba794d2ac2fb2e8ec15f043131cfa30111bd8 100644 (file)
@@ -69,6 +69,7 @@
         <target dev='hdf' bus='ide'/>
         <address type='drive' controller='0' bus='5' unit='0'/>
       </disk>
+      <controller type='usb' index='0'/>
       <controller type='ide' index='0'/>
       <memballoon model='virtio'/>
     </devices>
index 76f17e11fc6d69012b6239acd04132122ff86e9a..30639100a0005aa68f02b7561934990a169b3c5f 100644 (file)
@@ -27,6 +27,7 @@
         <target dev='hda' bus='ide'/>
         <address type='drive' controller='0' bus='0' unit='0'/>
       </disk>
+      <controller type='usb' index='0'/>
       <controller type='ide' index='0'/>
       <memballoon model='virtio'/>
     </devices>
index f0ad70b2d2e8c94f470ee28ed7a7e045b69f07dc..9553b17b66e176ffb2b4c08fb82491a46c417bda 100644 (file)
@@ -31,6 +31,7 @@
         <target dev='hda' bus='ide'/>
         <address type='drive' controller='0' bus='0' unit='0'/>
       </disk>
+      <controller type='usb' index='0'/>
       <controller type='ide' index='0'/>
       <memballoon model='virtio'/>
     </devices>
index 5ce3e24c3f1c6ea603dc4cf0272ddf925fde7ee5..9b7116481c2ef8336edebe2ebcc1b1782689280d 100644 (file)
@@ -21,6 +21,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='pty'>
       <target port='0'/>
index 7b6ec8f512a6abf7d8869dd526e09e203a638075..6b4da65ac375c3a8e223ff982272ad09052cf97c 100644 (file)
@@ -35,6 +35,7 @@
       </iotune>
       <address type='drive' controller='0' bus='0' unit='1'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 3412753b40cc6ef7a74fe67d94b30636b9169490..6c2d282a844d107f93174bf51949648ddb8502d6 100644 (file)
@@ -30,6 +30,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 4fa03ef26f44721c2915d201b73eabc1326de437..ae7133f65cc9428d97d69e0f1532204db908a76d 100644 (file)
@@ -22,6 +22,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 14ccd2342c1eb2188c33e95e8d78068e806e755a..183894b6fc42e92cbb9ddbcf45306f600c58e637 100644 (file)
@@ -20,6 +20,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index b4d6f4ff14e8df42e260dc148306a36248076453..860f52ece73f13dbc9cc0306cabd9eb73148795a 100644 (file)
@@ -50,6 +50,7 @@
       <target dev='fda' bus='fdc'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='fdc' index='0'/>
     <controller type='ide' index='0'/>
     <interface type='user'>
index b4d6f4ff14e8df42e260dc148306a36248076453..860f52ece73f13dbc9cc0306cabd9eb73148795a 100644 (file)
@@ -50,6 +50,7 @@
       <target dev='fda' bus='fdc'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='fdc' index='0'/>
     <controller type='ide' index='0'/>
     <interface type='user'>
index db3a94f651d1145fdb34634cad2b3be9520b62de..ff2073608c9511f83a55ba2d43a6f2756bfa339b 100644 (file)
@@ -24,6 +24,7 @@
       <target dev='fda' bus='fdc'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='fdc' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
index bc1da8a24eeb9ba4fbc47194dd553510028890bb..66a64df8bb2064498acc796f4ffe501254e4d818 100644 (file)
@@ -21,6 +21,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index bc1da8a24eeb9ba4fbc47194dd553510028890bb..66a64df8bb2064498acc796f4ffe501254e4d818 100644 (file)
@@ -21,6 +21,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index bc1da8a24eeb9ba4fbc47194dd553510028890bb..66a64df8bb2064498acc796f4ffe501254e4d818 100644 (file)
@@ -21,6 +21,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index c35b2bd5ea272724017137676a8a7efea771c050..d92f6810c43f4763f5b1a60145e4af814a52a305 100644 (file)
@@ -21,6 +21,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 44ca0fadfca2e76433e39b558ac4f36dfefbb7b2..09556da3f2add54d0ae2750ecd2b3901bde57adf 100644 (file)
@@ -24,6 +24,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index d3f3369a784c99d1082e313b1c86e06d32f782ca..aec0796b81319f0c54b8273fde7923ad28bcee01 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 68741fec369152d2d49e0017e2fe2afcf27d5738..f46ef5c44cf7949eb4a6df0833c950e4104294aa 100644 (file)
@@ -40,6 +40,7 @@
       <boot order='4'/>
       <address type='drive' controller='0' bus='0' unit='1'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='fdc' index='0'/>
     <interface type='user'>
index 6ce846d5d4f808afd99c4b4074d8016bf3653afe..332e6b6e1b6de6c40af0da19a84fa17a28ab3302 100644 (file)
@@ -20,6 +20,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index b1d528143fe98c42c232469f0e0ce9a0ebbda36e..1016eadcd509d94aa43bbbcca79fe049a6722908 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <channel type='pipe'>
       <source path='/tmp/guestfwd'/>
index 0e823942ad07824b83796be64304120045abaafb..9b53469e633df9ac6759435a189e70be0af48efa 100644 (file)
@@ -18,6 +18,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='virtio-serial' index='1'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
index 0e823942ad07824b83796be64304120045abaafb..9b53469e633df9ac6759435a189e70be0af48efa 100644 (file)
@@ -18,6 +18,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='virtio-serial' index='1'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
index c127d8429551ca9fb4e6c0168968c6edba0790ec..dd3bd9d7d48fe7a02d79d85d64675ff57588c7a4 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='virtio-serial' index='0' ports='16' vectors='4'/>
     <controller type='virtio-serial' index='1'>
index f612c0262f2de37c711739cd015162b755e1dad4..e13f8b9ef87857e025f0f4ca047e001f405f11ce 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='virtio-serial' index='1'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
index 017ef39e34ab42b8fbfcbfb32e739f369bf8ea49..60560ee2dd6cff2b852ddace9e44302e659b9630 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index ed746c1f812dcfccc9a20e05229402160a3aef86..958b3d23a8bf224983a5e2d7429c76346d1a0feb 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 479a1d92e695530547007d5ab338ac90c7af909b..317f793f0358ae11d7fa6c4270a813d904d08f10 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 9f52ccaf25769220545045f914812ea9431ea60c..eea6ce4c38dd0ba435ab0e5b9821da3cd843bc7f 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index bd199887dd05c98fd83d549d69bbc83dcd55ee7b..7fb2ff915edafe76b04f877325772281383088c7 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <console type='pty'>
       <target port='0'/>
index 0bf52f47a850bb2f88e611f4d6551b2ccb674eef..1a7899a8d92f594b03d90a2527a970958a8b5555 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='pty'>
       <target port='0'/>
index 901152259adaf1b685bbcc1f95beed47b6807536..f579b1118c4d10857bf55f4b8fd881c62e3531c5 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='pty'>
       <target port='0'/>
index e65fb744f28dd70a98a932d9e667913d82090a8a..71b7fbea70c3d6c948fd13ec4ddddf74dd033324 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='virtio-serial' index='0'/>
     <serial type='pty'>
index 259af4a63179b5ff07a881fef50f6a9340c7bac4..8311e591d1b1b994ec3b156eec61d2ffdf905cc7 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <console type='pty'>
       <target type='virtio'/>
index 15a9e44b09332bb3d52b9e892b4099ab799c0baf..50f582b33d206797d7ea9def3325fe9161e26aec 100644 (file)
@@ -18,6 +18,7 @@
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/./qemu.sh</emulator>
+    <controller type='usb' index='0'/>
     <memballoon model='virtio'/>
   </devices>
 </domain>
index 2b51b0e3262d66c7d0be3c06893fc26eaf14c2e0..63a6163926750c547f6cd049daa1e16796406719 100644 (file)
@@ -19,6 +19,7 @@
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/./qemu.sh</emulator>
+    <controller type='usb' index='0'/>
     <memballoon model='virtio'/>
   </devices>
 </domain>
index 091865a88a7c9440656d16d7e501182e5dd73b50..b89232088c5c64082ab75c5a416b5441ad355a5a 100644 (file)
@@ -26,6 +26,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index f6d7633ef7d5239f5d15bf28a7756188554d930d..12b114f1b75e9b538751339b03ebfa014eeae63e 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index bc40d16ac3b0653e97ca98fcb586ad325903225a..565b8e21e376088be528088fed3437d7d0c9cd01 100644 (file)
@@ -24,6 +24,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 2fd2e6abaf90477e4080ff6e670c34327571453b..cea3f4abd680d58cc475e57998c2fd92f0c825f3 100644 (file)
@@ -25,6 +25,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 433c641fab4d310bb2a44062e71de149fadd1f04..a94623a5af01326525282028900d3fd3c635dbb4 100644 (file)
@@ -32,6 +32,7 @@
       <model type='virtio'/>
       <driver name='vhost' txmode='iothread'/>
     </interface>
+    <controller type='usb' index='0'/>
     <controller type='virtio-serial' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
     </controller>
index 434cd7e60df7cc71a292f18f0bfeef7aa423169c..a018655acdcc477ef5e91c5733d9a96423df20df 100644 (file)
@@ -24,6 +24,7 @@
       <target dev='hdc' bus='ide'/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 452cb822a700a91a8d2ea3aad6de91f9a7071bca..ba27ec6bfa6a81d5ff7569492e2d3ff8502a97aa 100644 (file)
@@ -24,6 +24,7 @@
       <target dev='hdc' bus='ide'/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 17d7c1c4bccf3df6ee9a852a1ae5197c4af9f171..199622391eabec505ecb7faea25706d6bf410480 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 37185f64d84cdc6294c76ba37652c52b6a612a00..562ff0ad5a1367bdf45c8a5acfb87ef2c1671e1a 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 3f608711925a1ce6e933aa9f0848845e0babe327..2d954debf821a34dc9307cba521c40b804b3413a 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 6a4e8e397be9368890587847d00f3499daed3466..adb243dc1fcdcfce573b82a4653ccefcecfa1424 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 5f351f5a14e092fff80999c219eb23f73178f1f8..0c50f48191cea418f669c4791e406d4795750296 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index da07d5ea2d3fdbedc909530c6ed9b9cd88f242a9..fcf52a418850455b06240af8963352cb2c5b157f 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 8c30aecfd37bcf634ed11ef7d12e98fa433ce294..5445be60a52c6c994c38c99d1bee3f2f6cee2326 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index a9e0c337c4be4c3c63f2dac7aee0a383ace0f91a..de543a96d15464739da94ee1bbd346a34c813ed3 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index f9a56ab4adf3451f88d9ee4d2e2db88baf14e03f..694c59bd40c1df0d4287aefec9cacbe037fc9d57 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 6d99607a0a4672b417a6fe179767eff4b1ebc36c..34fe20f110acd6e6428780ee03c5bc2931617fa2 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 70068aa4d68d17969db86f8f55ca7fab10446017..80cf5fe150fc4b39c2985ba1359fdf8ebc67d7b7 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index d473711b487dcef6a8e767ed055b7926da12135e..fdf203043aa78e368805991724df6d2e387b0757 100644 (file)
@@ -21,6 +21,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index cc88ef5ff967ee23645f9961a2777e888404d4ce..dbece2491ab3b7c4ec99d4db2caae3c8c06975fa 100644 (file)
@@ -27,6 +27,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index c0255a8e36d5ea5fa04fa5b257d02bcbba1940b5..7ba0ab097641792a642824f36aed014a78ab3ec3 100644 (file)
@@ -26,6 +26,7 @@
       </source>
       <target dev='vda' bus='virtio'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 88f7f7a808e8e0f308dc76bb0319da2c4ad70175..a81bf1a9fbce27b8580f468ae6a8aaea37e5605a 100644 (file)
@@ -31,6 +31,7 @@
       </source>
       <target dev='vda' bus='virtio'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index e920db1bc66f96581c4e9d8e555e242bd1b9fbdf..f0bcfd565c7ef166c5ac8c73549e9c9304c3090b 100644 (file)
@@ -28,6 +28,7 @@
       </source>
       <target dev='vda' bus='virtio'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index e920db1bc66f96581c4e9d8e555e242bd1b9fbdf..f0bcfd565c7ef166c5ac8c73549e9c9304c3090b 100644 (file)
@@ -28,6 +28,7 @@
       </source>
       <target dev='vda' bus='virtio'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 83d6c4eb909d4a4be9d17ebcc089b97d6c3999db..cd0eef40d88f963eb286ec2389c30212fb07b6ff 100644 (file)
@@ -26,6 +26,7 @@
       </source>
       <target dev='vda' bus='virtio'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index a7e08fd8c931de3aa83c56115554ea321de1e5ca..88ce751ac24ba761036109dd8a62e18102c99558 100644 (file)
@@ -31,6 +31,7 @@
       <target dev='fda' bus='fdc'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='fdc' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='none'/>
index c0cf6a44acbb660ca4040cf63b703257bebe508e..380f850f7a37c9c924ac264327e6952bb480d5e0 100644 (file)
@@ -25,6 +25,7 @@
        <readonly/>
        <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index c0cf6a44acbb660ca4040cf63b703257bebe508e..380f850f7a37c9c924ac264327e6952bb480d5e0 100644 (file)
@@ -25,6 +25,7 @@
        <readonly/>
        <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 8dcf4b725824b755cb504cc86f0fb104d0236bfd..c1550405749e39fbe1faaeab59f69b8be69d716a 100644 (file)
@@ -29,6 +29,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 6c2a18ddc83b7c61090ee17b0a4c63f9cec3cc48..99adcd4d72ab12c22e731bd1646c94abd0f98049 100644 (file)
@@ -29,6 +29,7 @@
       <target dev='fdb' bus='fdc'/>
       <address type='drive' controller='0' bus='0' unit='1'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='fdc' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
index c565c9f9888d72591e39e4c89f0ae268960a75c1..3bc82cbb73539b926a9099e4dfc377d5c6b0964a 100644 (file)
@@ -32,6 +32,7 @@
       <model type='virtio'/>
       <driver name='vhost' txmode='iothread' ioeventfd='off'/>
     </interface>
+    <controller type='usb' index='0'/>
     <controller type='virtio-serial' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
     </controller>
index 3b28a3464532093589959055ba3e6c0d02b6c821..c04d6e2e804c16e54b99fedce0e4638578f3d362 100644 (file)
@@ -34,6 +34,7 @@
       <target dev='hdd' bus='ide'/>
       <address type='drive' controller='0' bus='1' unit='1'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index b07bbedec4d39142f612aa0dc2497371bfe89ac7..d89e57bde0e7bb4a35016c8dae8bd4c211a13203 100644 (file)
@@ -31,6 +31,7 @@
       <source file='/tmp/data.img'/>
       <target dev='vda' bus='virtio'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 68a14f2850ed345f0f40947ed0e1c660a417dce5..81f30e599331d0ae8aa9ccb6b129a3c008ef301d 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='sda' bus='sata'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='sata' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index a7e55b0644312b20c3c7680f1db6d62f95b63ab5..fbbf6ed84f10a4be0a6ed19061f4d867c549f51e 100644 (file)
@@ -18,6 +18,7 @@
       <source dev='/dev/HostVG/QEMUGuest1'/>
       <target dev='hda' bus='ide'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <disk type='file' device='disk'>
       <source file='/tmp/scsidisk.img'/>
index 530c0a624dc4601978c7d2207fe4cb45858964c2..17b59d8b054db6b6e1de70920e5395b4c4b0d888 100644 (file)
@@ -24,6 +24,7 @@
       <target dev='sda' bus='scsi'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='scsi' index='0'/>
     <memballoon model='virtio'/>
index 452ade830d4727aed63cead6754b65fc6dd23212..3c61e1ffdc27a51b14fd10d35e5c9fde694d1b20 100644 (file)
@@ -24,6 +24,7 @@
       <target dev='sda' bus='scsi'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='scsi' index='0' model='virtio-scsi'/>
     <memballoon model='virtio'/>
index 7cf5798c146cd2afe6c6131c5b92dce990e71522..12f928a03c1a552859a38bd75a9b5bbf0a02efb1 100644 (file)
@@ -24,6 +24,7 @@
       <target dev='sda' bus='scsi'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='scsi' index='0' model='ibmvscsi'/>
     <memballoon model='virtio'/>
index aeb2315caab9a3dac952f4fb932e0e013234a114..2501ac8b0a9fa7475775ef3bba409a6d03cf4c92 100644 (file)
@@ -33,6 +33,7 @@
       <target dev='hdb' bus='ide'/>
       <address type='drive' controller='0' bus='2' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index df49c4853dec92c74887e235a0034540b1433b4d..e5aef0a36690a0e7b530582b1f75e05752b5400f 100644 (file)
@@ -21,6 +21,7 @@
       <transient/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 0a9adef6f9760d8d6bdc927b67516557a194567e..a8a505d4a36b3933173b447e7234c3ebe5cb207d 100644 (file)
@@ -23,6 +23,7 @@
       <source file='/tmp/usbdisk.img'/>
       <target dev='sda' bus='usb'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index eef9a1bbc1205065d3bb37e3e98ae869363e744f..9a9e96674c22e3cd0057121bc0523e9ef0a0df80 100644 (file)
@@ -33,6 +33,7 @@
       <source file='/tmp/logs.img'/>
       <target dev='vdb' bus='virtio'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index c940847684345b0ada988d461df6ac34746620bb..4497a04c15d1a05285939238ef3ec3c71e26f282 100644 (file)
@@ -33,6 +33,7 @@
       <source file='/tmp/logs.img'/>
       <target dev='xvdg' bus='xen'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index fdcf624807f9ec4bf82d2fed9fd946f65fdaa5ca..636f7e42ada69e4f52096e65c27e2ef55979cdff 100644 (file)
@@ -23,6 +23,7 @@
       </encryption>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <memballoon model='virtio'/>
   </devices>
 </domain>
index 81f2200299b541d105b95592262124086e75b0fd..6dc346d2c71d59cf9b146733b96e584691420346 100644 (file)
@@ -29,6 +29,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='virtio-serial' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
     </controller>
index ceee0b8aad141e4ba5fcc8b238ffcad49708595b..4d6ebd76a175784cea4b139b2b71d7c1e5fa188a 100644 (file)
@@ -21,6 +21,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='fdc' index='0'/>
     <memballoon model='virtio'/>
index e31db4879c573a267e54f5e8a21b08a5a9e651fd..c187995548b5e892d8e2ff836e21bf9fb9f0a918 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <filesystem type='mount'>
       <source dir='/export/to/guest'/>
index a49e5d39e5c3955b9f73500ff28c165fb7aa89a3..c3410547e87bf2e6dc221b47691ffdef91550fcf 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='vnc' port='5903' autoport='no'>
index 1c55eff1a1d4bbf84ab4e24b3ecb2c57df934505..7985625d7024b4ecdee1657131c2c120fac23a6b 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='vnc' listen='1.2.3.4' autoport='yes'>
index 4e11a28ce3642d103dc01fcf79f8a706f3e8a81a..277c1d4057fcbcc477b88777f91095d994c24efe 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='sdl' display=':0.1' xauth='/root/.Xauthority' fullscreen='yes'/>
index cf5aaa9f7229fcfcbcb19a57c309380f8b088a07..a5a169a9e5cafd2e963c0fffc43a81f03495fe3c 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='sdl' display=':0.1' xauth='/root/.Xauthority'/>
index d92211c6cc0c40ffeebbc78d036e8b058da26387..33e219024ea151d50912a8752fd195a9293dbbde 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1'>
index 65fc2d9793257c4251a37b0d7ac99d2a818f4462..ac1a9154e0e776a6d89349007aef1cc67934f2ce 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1'>
index 5313b3ad88f6f4e84f72e35b7a706aa116464e0f..d4e68e4a44bf9f5a676b2d46ac7d849b36eaf333 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1'>
index 1f6c115be99d7796b915665dd566669adab0aa6a..339b1fd14ec4d2d1006f69570f7b710921711db0 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='vnc' port='5903' autoport='no' listen='127.0.0.1'>
index 19c92137367c6646806c97191b1d5d6759dcf6c9..e3151e54116eb109185fc15c6d5411455b263596 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='vnc' socket='/tmp/foo.socket'/>
index 1f6c115be99d7796b915665dd566669adab0aa6a..339b1fd14ec4d2d1006f69570f7b710921711db0 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='vnc' port='5903' autoport='no' listen='127.0.0.1'>
index f93faccc7faacaf1102c64539dfb4eafab111d0e..ad2bfc095a6b6be92be363111ed33b696d150dac 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='vnc' port='5903' autoport='no' listen='2001:1:2:3:4:5:1234:1234'>
index a88ada4ff8d5cd54c8ed9b14d5d7413710945877..a7f04103268b84189deb3542bea3f25d2b9c02b4 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <hostdev mode='subsystem' type='pci' managed='yes'>
       <source>
index c224291a1fd1cb2ab4f32e1429f13cf1c4c98d21..80b4771b47364482977d57aa88bedc8c51a29cc4 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <hostdev mode='subsystem' type='usb' managed='no'>
       <source>
index 78bf4e1e057a4fb9ef64deed1e59169e207bc4c7..fa0bb964dda316c838bd5256fd3cd7d9f71555c2 100644 (file)
@@ -22,6 +22,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index a2fa8e3041238f71300c42d3c3ab6045f2cde02b..858b38506106c906b622ab2392ec7c548841b851 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='usb'>
       <address type='usb' bus='0' port='4'/>
index b9aff61de916aa0068771b96b516f975f7929993..cc78f9f0c14f9dcb4e6aabccc3365e119d4f69e0 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='usb'/>
     <memballoon model='virtio'/>
index 18d5cb503172621ecb8ac94171015c9069e0e5ca..c042ed2f21abfa355f1a9352257633e8a821efa6 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='tablet' bus='usb'/>
     <memballoon model='virtio'/>
index fb42c95d545735cf7ed094fd59509b5003f3dedb..0b82b3b7aa91ade88ff3799025f5aa214eccf722 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='xen'/>
     <graphics type='vnc' port='5903' autoport='no' listen='127.0.0.1'>
index 6ff3b356fa62607f3d29125a5f45021e902aef00..fbd31ec94ecae4a9f84fd9c57ca69f1f3c5bd9ee 100644 (file)
@@ -16,6 +16,7 @@
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/kvm</emulator>
+    <controller type='usb' index='0'/>
     <memballoon model='virtio'/>
   </devices>
 </domain>
index 7efe1eff9b9166b5405699d8d0cecdc187d503e7..b998f62518869d0d0cbc08e31a2dacf9fa0fd57e 100644 (file)
@@ -25,6 +25,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <lease>
       <lockspace>somearea</lockspace>
index 37b5c88ee906c5eb906002c7ddebb10e5b643d91..c81a253a73e31d4e875b81ddd845506aaf4226ed 100644 (file)
@@ -24,6 +24,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 99e81ae00035c7480d40a3a2f2f8949a58093cbd..e16fce5d53c14196a81990abef9fa5daa82e6ed6 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 51eb59a5e6c5f633548535432bffe5c040484b24..d06027105dac66064949e6eb580ce4f6fef5c797 100644 (file)
@@ -24,6 +24,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index d5f8d2ff4848eb725998f0e6e06cf58cf2f52168..a4fce926449a4c000b3cab881772d76ed78141e1 100644 (file)
@@ -22,6 +22,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index b06493fa1eeed6eb8ecaf617620195a314bb8bb4..b84a0b4c1d2c2348f2fac7fdbb46d3f426faf65a 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index d5f8d2ff4848eb725998f0e6e06cf58cf2f52168..a4fce926449a4c000b3cab881772d76ed78141e1 100644 (file)
@@ -22,6 +22,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 1901715de7e47e380a8fdb1cfc3f2fa0d169314a..676030406ab845612da8a06a002c4d06a6a9d39e 100644 (file)
@@ -19,6 +19,7 @@
       <source file='/dev/hda1'/>
       <target dev='hda'/>
     </disk>
+    <controller type='usb' index='0'/>
     <memballoon model='virtio'/>
   </devices>
 </domain>
index 852c97b578b11f9449c3e794274a7b917e749e47..d5e4b9a1d6e4cf01991e8448a597388a35f7dff4 100644 (file)
@@ -34,6 +34,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
     </controller>
index a638e06faf875bfbd4c91ec42dec00e7d351f74f..bd5a153064987e6d11e1de9084a79b76f853cfef 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <interface type='ethernet'>
       <mac address='00:11:22:33:44:55'/>
index d5c4b366e6a6aa7bd29ef1be3c6be2e6f9f45b17..61836be0ed9995f2e19b90337e9630519049806c 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <interface type='ethernet'>
       <mac address='00:11:22:33:44:55'/>
index 540808d05b6203739ba71bdba59f5445e242a931..4a6f041049d383f5eb8f16cf46334fc10666bb28 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <interface type='user'>
       <mac address='00:11:22:33:44:55'/>
index 4e7abcd554113f12f423fc21fbdfd6fc9b1ae717..013c444c75b159921c87cacc61e6e249baa55765 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <interface type='user'>
       <mac address='00:11:22:33:44:55'/>
index 5f2b12c1013d8234e5af278f76bbffff69ef733e..2e46562c66fc8a30d81a14cb1458f5a402db53e1 100644 (file)
@@ -18,6 +18,7 @@
       <source dev='/dev/HostVG/QEMUGuest1'/>
       <target dev='hda' bus='ide'/>
     </disk>
+    <controller type='usb' index='0'/>
     <interface type='user'>
       <mac address='00:11:22:33:44:55'/>
       <model type='virtio'/>
index 0f6e0764c5fdc206ccb11d3f8b5186416fa8bea6..4a56f5989a8014f56d3d26f659e58f8420491d3f 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <interface type='network'>
       <mac address='00:11:22:33:44:55'/>
index ec930b3660fc4570dd3d17cb07171f700edad810..f17b5a98c38e8f942d650a9e20c010a5306fa510 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <interface type='user'>
       <mac address='00:11:22:33:44:55'/>
index 99e81ae00035c7480d40a3a2f2f8949a58093cbd..e16fce5d53c14196a81990abef9fa5daa82e6ed6 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 5c50eccd88969266589338d3aba89dcdefef95b6..67cf66131d84ddefb3bcc30b7bcbf9660fb5373f 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <parallel type='tcp'>
       <source mode='bind' host='127.0.0.1' service='9999'/>
index 731a69db7fb77105b56a99fdb4f54526e0d34505..51eecbc2b277aeed266e2eb0ee1ce70308b72438 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <interface type='user'>
       <mac address='52:54:00:24:a5:9f'/>
index 0d9dd98b14a7b121f0d252af01530cdb54378c91..9bf8da72e756adc52b0a5a56d0f53698efbe5352 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 479a1d92e695530547007d5ab338ac90c7af909b..317f793f0358ae11d7fa6c4270a813d904d08f10 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 99e81ae00035c7480d40a3a2f2f8949a58093cbd..e16fce5d53c14196a81990abef9fa5daa82e6ed6 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 99e81ae00035c7480d40a3a2f2f8949a58093cbd..e16fce5d53c14196a81990abef9fa5daa82e6ed6 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index fea0eb7d1b46c29daa5c09832d2287714ef7a270..dfbdf9ec809d8b575c2f9d166856012076181b0e 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 19b1cbb4c67b71d87363b341fa492acbc9db7f42..c34243bc965d2bc561bcb9c7f42ba7599a0f35f4 100644 (file)
@@ -31,6 +31,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 9def692132f0c0ff2788319699fd2a4953f6b03f..b3109ba8045b1c629a4bf153cd9b33162bd1fb81 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 416bd865fa531656bca996fc20af3d3df7266979..2a8dd5b71619a4fd9472021c06cbc4c32f5d4e40 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index ea5a3f8cd1a078f15e9ceb690379ef6b386fcab4..b6f9d29ff5a9f4625148b6c519b77487a37e6af1 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='dev'>
       <source path='/dev/ttyS2'/>
index 41f473a13cbae97a0e8007476fa585a195ef6c41..56f9006d8e471f18cb11059d027e8eea1c229853 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='dev'>
       <source path='/dev/ttyS2'/>
index 9a3e19759b627fbb54344c6a6a0528124431a91c..c64da7395fa2aef55889649c425a5fe75cddfe2c 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='file'>
       <source path='/tmp/serial.log'/>
index 975d81eee03a33f7d159a6033a086432f127d98a..54bfc93bd49e346c76773dffb925a7ae95b03e59 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='file'>
       <source path='/tmp/serial.log'/>
index d6116e85ad3b5d8c605dcc56c74e22222286cf11..29e12be5f64cb474113ea488b3446aae3ae21359 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='pty'>
       <target port='0'/>
index e68ad79643aad698a0e7c56f9d813b2b18d8352c..371fc44c0c34512f58318add4e7e540baaf09ab7 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='pty'>
       <target port='0'/>
index 57d1b7477c7b2a1d9be8c58b928a31f60a7f2636..17fc702ffddd453f0c3b1fd37b91ab6efac33b76 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='pty'>
       <target port='0'/>
index 19dd13171fc9cd7ccb0781f88b816f9e1bf33b42..7e2ca30c72bddd36ff733ad6b5fe368dac360a18 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='pty'>
       <target port='0'/>
index cd4338445632ea0ae4124451ee00663166f7e100..2b1f5d47a4dff896a9122ef0e09cb951b4fca102 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='tcp'>
       <source mode='connect' host='127.0.0.1' service='9999'/>
index 14bead469faaead918feab46c96846ae3d8c3ce6..1cebeff57c16caab60a273dc7f67fb7bc442a2f1 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='tcp'>
       <source mode='bind' host='127.0.0.1' service='9999'/>
index ad5a0384de403f890e6525c808f0adfd9300f1e8..3b8dca87fffc10b39d1eb6493e9e05c456ab6f89 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='tcp'>
       <source mode='bind' host='127.0.0.1' service='9999'/>
index 45ad5854976dcb71949d6a4467052f3b880204a1..fe19f8b2ad627eafba20831342f5636f0a771da3 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='tcp'>
       <source mode='connect' host='127.0.0.1' service='9999'/>
index 9627c675773a5ffa38a6905adb85b8faabf5fa8e..52ccc94647b8613a2e10482061eea387089ddf2c 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='udp'>
       <source mode='bind' host='127.0.0.1' service='9999'/>
index f606ea4479c5dba93f6dae7ca5afabf43ac60ad6..31c9104de368daded1ac3c556d2442d2e814a3cb 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='udp'>
       <source mode='bind' host='127.0.0.1' service='9999'/>
index 4ed72aa0cd113c22b05c2f0823be04bddf7a02df..e86c1ae1114fdb5739573a1f4cfc956e265e00a8 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='unix'>
       <source mode='connect' path='/tmp/serial.sock'/>
index 4685ad4b9d059c9746bdb0b5d15221a302e4e0ca..053cec191d7f6f2319b774432debe11a4d50b7ff 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='unix'>
       <source mode='connect' path='/tmp/serial.sock'/>
index 610033217b3b3e430134bc7758f75a3015735c21..c0860925feb7c6bb587d8a3266034a10c2954e37 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='vc'>
       <target port='0'/>
index cba15dc3c9d8b99f45df9f0fbaf67ba1f76ef83d..9d0d918cd4751c41cfd27110085c1a9aba8b637f 100644 (file)
@@ -22,6 +22,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 57cabb42359d44f432cb9fcb7d709e72dd0914f1..e5b3f1361579acda2eefe09158dd67c213cadfef 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <sound model='pcspk'/>
     <sound model='es1370'/>
index 63107d524aa48a33e31653c32da08a92563d2c31..1b183aa9612fff9b976d7be59850572889dcf919 100644 (file)
@@ -28,6 +28,7 @@
       <target dev='vdb' bus='virtio'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='virtio-serial' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
     </controller>
index 06da70bb093cbb5bf8e3260042b6444a12f69438..e1f6e5618194f8bb4d5f93c8c3152680d1aaaf3f 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <watchdog model='ib700' action='poweroff'/>
     <memballoon model='virtio'/>
index 479a1d92e695530547007d5ab338ac90c7af909b..317f793f0358ae11d7fa6c4270a813d904d08f10 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index a52ea8e8ad2ac0538c70f2a8925ce8ac9ecd8a5c..1602b6cfd1ddd0a69d9f2221d77e46d16525a27c 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='virtio-serial' index='0' ports='16' vectors='4'/>
     <controller type='virtio-serial' index='1'>
index 901152259adaf1b685bbcc1f95beed47b6807536..f579b1118c4d10857bf55f4b8fd881c62e3531c5 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <serial type='pty'>
       <target port='0'/>
index b64c7e501658f53c776998aa8212911f567414a5..f1f70c7c5ec4eda1941d9a7d8f08bc61ba23f7b8 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='virtio-serial' index='0'/>
     <console type='pty'>
index 9299da3dbe017d4f9b4fd54eecb977eb63220100..897b0d237398463a0a712e056a303fe965bf7143 100644 (file)
@@ -25,6 +25,7 @@
       <readonly/>
       <address type='drive' controller='0' bus='1' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <memballoon model='virtio'/>
   </devices>
index 530c0a624dc4601978c7d2207fe4cb45858964c2..17b59d8b054db6b6e1de70920e5395b4c4b0d888 100644 (file)
@@ -24,6 +24,7 @@
       <target dev='sda' bus='scsi'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='scsi' index='0'/>
     <memballoon model='virtio'/>
index d369b890abe38c35149f4f2ebc9cf2f265b0dfbb..188e14a5ad825ef8b96428d67e22c73cc63be895 100644 (file)
@@ -19,6 +19,7 @@
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
+    <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='ps2'/>
     <graphics type='vnc' port='-1' autoport='yes' listen='1.2.3.4'>
index ac72822508b932da3ca8a31b291d6e66f6d3ea42..53298d13e93b189d5b3f9d82f8733b4a36e2a49d 100644 (file)
@@ -58,6 +58,7 @@
     <controller type='virtio-serial' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
     </controller>
+    <controller type='usb' index='0'/>
     <interface type='ethernet'>
       <mac address='52:54:00:71:70:89'/>
       <script path='/etc/qemu-ifup'/>
index a029404181d1b7274526f472981c387242d13403..01b820d62f4d1e794690b86d94b24f973c6cebc4 100644 (file)
@@ -24,6 +24,7 @@
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
     <controller type='ide' index='0'/>
+    <controller type='usb' index='0'/>
     <memballoon model='virtio'/>
   </devices>
 </domain>
index 878418a7a268a87bd35408cfb221d8e94a91d1a9..44472c75396bc7a98013ec4d7e5fcc45b715292a 100644 (file)
@@ -20,6 +20,7 @@
       <address type='drive' controller='0' bus='0' unit='0'/>
     </disk>
     <controller type='ide' index='0'/>
+    <controller type='usb' index='0'/>
     <serial type='pty'>
       <target port='0'/>
     </serial>