<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 5, 2015 at 3:45 PM, David David <span dir="ltr">&lt;<a href="mailto:dd432690@gmail.com" target="_blank">dd432690@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br><br>Hi<br><br>I am using Hostusb hook on ovirt 3.5, centos6.6.<br>And I am facing problem while adding usb drive to windows2012 as a guest.<br>Usb device is passed through to the guest. <br>But in windows device manager usb mass storage device shows an exclamation mark. And error message is: &quot;This device cannot start: (Code 10)&quot;<br>In linux VM usb drive works without problem.<br><br></div></div></blockquote><div><br></div><div><br></div><div>Which version of the windows guest tools are you using?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>how to fix it?<br><br></div>here is xml of the windows guest:<br><br>&lt;!--<br>WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE<br>OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:<br>  virsh edit win2012<br>or other application using the libvirt API.<br>--&gt;<br><br>&lt;domstatus state=&#39;running&#39; reason=&#39;booted&#39; pid=&#39;22624&#39;&gt;<br>  &lt;monitor path=&#39;/var/lib/libvirt/qemu/win2012.monitor&#39; json=&#39;1&#39; type=&#39;unix&#39;/&gt;<br>  &lt;vcpus&gt;<br>    &lt;vcpu pid=&#39;22630&#39;/&gt;<br>  &lt;/vcpus&gt;<br>  &lt;qemuCaps&gt;<br>    &lt;flag name=&#39;vnc-colon&#39;/&gt;<br>    &lt;flag name=&#39;no-reboot&#39;/&gt;<br>    &lt;flag name=&#39;drive&#39;/&gt;<br>    &lt;flag name=&#39;name&#39;/&gt;<br>    &lt;flag name=&#39;uuid&#39;/&gt;<br>    &lt;flag name=&#39;vnet-hdr&#39;/&gt;<br>    &lt;flag name=&#39;migrate-qemu-tcp&#39;/&gt;<br>    &lt;flag name=&#39;migrate-qemu-exec&#39;/&gt;<br>    &lt;flag name=&#39;drive-cache-v2&#39;/&gt;<br>    &lt;flag name=&#39;kvm&#39;/&gt;<br>    &lt;flag name=&#39;drive-format&#39;/&gt;<br>    &lt;flag name=&#39;vga&#39;/&gt;<br>    &lt;flag name=&#39;0.10&#39;/&gt;<br>    &lt;flag name=&#39;pci-device&#39;/&gt;<br>    &lt;flag name=&#39;mem-path&#39;/&gt;<br>    &lt;flag name=&#39;drive-serial&#39;/&gt;<br>    &lt;flag name=&#39;migrate-qemu-unix&#39;/&gt;<br>    &lt;flag name=&#39;chardev&#39;/&gt;<br>    &lt;flag name=&#39;enable-kvm&#39;/&gt;<br>    &lt;flag name=&#39;monitor-json&#39;/&gt;<br>    &lt;flag name=&#39;balloon&#39;/&gt;<br>    &lt;flag name=&#39;device&#39;/&gt;<br>    &lt;flag name=&#39;smp-topology&#39;/&gt;<br>    &lt;flag name=&#39;netdev&#39;/&gt;<br>    &lt;flag name=&#39;rtc&#39;/&gt;<br>    &lt;flag name=&#39;vhost-net&#39;/&gt;<br>    &lt;flag name=&#39;no-kvm-pit&#39;/&gt;<br>    &lt;flag name=&#39;tdf&#39;/&gt;<br>    &lt;flag name=&#39;pci-configfd&#39;/&gt;<br>    &lt;flag name=&#39;nodefconfig&#39;/&gt;<br>    &lt;flag name=&#39;boot-menu&#39;/&gt;<br>    &lt;flag name=&#39;name-process&#39;/&gt;<br>    &lt;flag name=&#39;drive-readonly&#39;/&gt;<br>    &lt;flag name=&#39;smbios-type&#39;/&gt;<br>    &lt;flag name=&#39;vga-qxl&#39;/&gt;<br>    &lt;flag name=&#39;spice&#39;/&gt;<br>    &lt;flag name=&#39;vga-none&#39;/&gt;<br>    &lt;flag name=&#39;migrate-qemu-fd&#39;/&gt;<br>    &lt;flag name=&#39;boot-index&#39;/&gt;<br>    &lt;flag name=&#39;hda-duplex&#39;/&gt;<br>    &lt;flag name=&#39;drive-aio&#39;/&gt;<br>    &lt;flag name=&#39;pci-multibus&#39;/&gt;<br>    &lt;flag name=&#39;pci-bootindex&#39;/&gt;<br>    &lt;flag name=&#39;ccid-passthru&#39;/&gt;<br>    &lt;flag name=&#39;chardev-spicevmc&#39;/&gt;<br>    &lt;flag name=&#39;virtio-tx-alg&#39;/&gt;<br>    &lt;flag name=&#39;device-qxl-vga&#39;/&gt;<br>    &lt;flag name=&#39;pci-multifunction&#39;/&gt;<br>    &lt;flag name=&#39;virtio-blk-pci.ioeventfd&#39;/&gt;<br>    &lt;flag name=&#39;sga&#39;/&gt;<br>    &lt;flag name=&#39;virtio-blk-pci.event_idx&#39;/&gt;<br>    &lt;flag name=&#39;virtio-net-pci.event_idx&#39;/&gt;<br>    &lt;flag name=&#39;cache-directsync&#39;/&gt;<br>    &lt;flag name=&#39;piix3-usb-uhci&#39;/&gt;<br>    &lt;flag name=&#39;piix4-usb-uhci&#39;/&gt;<br>    &lt;flag name=&#39;usb-ehci&#39;/&gt;<br>    &lt;flag name=&#39;ich9-usb-ehci1&#39;/&gt;<br>    &lt;flag name=&#39;usb-redir&#39;/&gt;<br>    &lt;flag name=&#39;usb-hub&#39;/&gt;<br>    &lt;flag name=&#39;no-shutdown&#39;/&gt;<br>    &lt;flag name=&#39;cache-unsafe&#39;/&gt;<br>    &lt;flag name=&#39;rombar&#39;/&gt;<br>    &lt;flag name=&#39;no-acpi&#39;/&gt;<br>    &lt;flag name=&#39;virtio-blk-pci.scsi&#39;/&gt;<br>    &lt;flag name=&#39;blk-sg-io&#39;/&gt;<br>    &lt;flag name=&#39;drive-copy-on-read&#39;/&gt;<br>    &lt;flag name=&#39;cpu-host&#39;/&gt;<br>    &lt;flag name=&#39;drive-iotune&#39;/&gt;<br>    &lt;flag name=&#39;system_wakeup&#39;/&gt;<br>    &lt;flag name=&#39;scsi-disk.channel&#39;/&gt;<br>    &lt;flag name=&#39;scsi-block&#39;/&gt;<br>    &lt;flag name=&#39;transaction&#39;/&gt;<br>    &lt;flag name=&#39;block-job-async&#39;/&gt;<br>    &lt;flag name=&#39;scsi-cd&#39;/&gt;<br>    &lt;flag name=&#39;hda-micro&#39;/&gt;<br>    &lt;flag name=&#39;dump-guest-memory&#39;/&gt;<br>    &lt;flag name=&#39;balloon-event&#39;/&gt;<br>    &lt;flag name=&#39;virtio-scsi-pci&#39;/&gt;<br>    &lt;flag name=&#39;blockio&#39;/&gt;<br>    &lt;flag name=&#39;disable-s3&#39;/&gt;<br>    &lt;flag name=&#39;disable-s4&#39;/&gt;<br>    &lt;flag name=&#39;usb-redir.filter&#39;/&gt;<br>    &lt;flag name=&#39;ide-drive.wwn&#39;/&gt;<br>    &lt;flag name=&#39;scsi-disk.wwn&#39;/&gt;<br>    &lt;flag name=&#39;reboot-timeout&#39;/&gt;<br>    &lt;flag name=&#39;dump-guest-core&#39;/&gt;<br>    &lt;flag name=&#39;seamless-migration&#39;/&gt;<br>    &lt;flag name=&#39;block-commit&#39;/&gt;<br>    &lt;flag name=&#39;disable-ksm&#39;/&gt;<br>    &lt;flag name=&#39;virtio-net-pci.__com_redhat_macvtap_compat&#39;/&gt;<br>    &lt;flag name=&#39;drive-mirror&#39;/&gt;<br>    &lt;flag name=&#39;blockdev-snapshot-sync&#39;/&gt;<br>    &lt;flag name=&#39;qxl&#39;/&gt;<br>    &lt;flag name=&#39;VGA&#39;/&gt;<br>    &lt;flag name=&#39;cirrus-vga&#39;/&gt;<br>    &lt;flag name=&#39;ipv6-migration&#39;/&gt;<br>    &lt;flag name=&#39;vnc-share-policy&#39;/&gt;<br>    &lt;flag name=&#39;mlock&#39;/&gt;<br>    &lt;flag name=&#39;virtio-rng&#39;/&gt;<br>    &lt;flag name=&#39;rng-random&#39;/&gt;<br>    &lt;flag name=&#39;rng-egd&#39;/&gt;<br>    &lt;flag name=&#39;pvpanic&#39;/&gt;<br>    &lt;flag name=&#39;spice-file-xfer-disable&#39;/&gt;<br>    &lt;flag name=&#39;host-pci-multidomain&#39;/&gt;<br>    &lt;flag name=&#39;msg-timestamp&#39;/&gt;<br>    &lt;flag name=&#39;device-del-event&#39;/&gt;<br>  &lt;/qemuCaps&gt;<br>  &lt;devices&gt;<br>    &lt;device alias=&#39;usb&#39;/&gt;<br>    &lt;device alias=&#39;net0&#39;/&gt;<br>    &lt;device alias=&#39;scsi0&#39;/&gt;<br>    &lt;device alias=&#39;virtio-serial0&#39;/&gt;<br>    &lt;device alias=&#39;balloon0&#39;/&gt;<br>  &lt;/devices&gt;<br>  &lt;domain type=&#39;kvm&#39; id=&#39;30&#39;&gt;<br>    &lt;name&gt;win2012&lt;/name&gt;<br>    &lt;uuid&gt;fd27bf56-334c-4c83-836d-81314c24bb7d&lt;/uuid&gt;<br>    &lt;memory unit=&#39;KiB&#39;&gt;1048576&lt;/memory&gt;<br>    &lt;currentMemory unit=&#39;KiB&#39;&gt;1048576&lt;/currentMemory&gt;<br>    &lt;vcpu placement=&#39;static&#39; current=&#39;1&#39;&gt;16&lt;/vcpu&gt;<br>    &lt;cputune&gt;<br>      &lt;shares&gt;1020&lt;/shares&gt;<br>    &lt;/cputune&gt;<br>    &lt;sysinfo type=&#39;smbios&#39;&gt;<br>      &lt;system&gt;<br>        &lt;entry name=&#39;manufacturer&#39;&gt;oVirt&lt;/entry&gt;<br>        &lt;entry name=&#39;product&#39;&gt;oVirt Node&lt;/entry&gt;<br>        &lt;entry name=&#39;version&#39;&gt;6-6.el6.centos.12.2&lt;/entry&gt;<br>        &lt;entry name=&#39;serial&#39;&gt;DE1EED73-4B49-6742-A2CD-3A24C43D4489&lt;/entry&gt;<br>        &lt;entry name=&#39;uuid&#39;&gt;fd27bf56-334c-4c83-836d-81314c24bb7d&lt;/entry&gt;<br>      &lt;/system&gt;<br>    &lt;/sysinfo&gt;<br>    &lt;os&gt;<br>      &lt;type arch=&#39;x86_64&#39; machine=&#39;rhel6.5.0&#39;&gt;hvm&lt;/type&gt;<br>      &lt;smbios mode=&#39;sysinfo&#39;/&gt;<br>    &lt;/os&gt;<br>    &lt;features&gt;<br>      &lt;acpi/&gt;<br>    &lt;/features&gt;<br>    &lt;cpu mode=&#39;custom&#39; match=&#39;exact&#39;&gt;<br>      &lt;model fallback=&#39;allow&#39;&gt;SandyBridge&lt;/model&gt;<br>      &lt;topology sockets=&#39;16&#39; cores=&#39;1&#39; threads=&#39;1&#39;/&gt;<br>    &lt;/cpu&gt;<br>    &lt;clock offset=&#39;variable&#39; adjustment=&#39;0&#39; basis=&#39;utc&#39;&gt;<br>      &lt;timer name=&#39;rtc&#39; tickpolicy=&#39;catchup&#39;/&gt;<br>      &lt;timer name=&#39;pit&#39; tickpolicy=&#39;delay&#39;/&gt;<br>      &lt;timer name=&#39;hpet&#39; present=&#39;no&#39;/&gt;<br>    &lt;/clock&gt;<br>    &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;<br>    &lt;on_reboot&gt;restart&lt;/on_reboot&gt;<br>    &lt;on_crash&gt;destroy&lt;/on_crash&gt;<br>    &lt;devices&gt;<br>      &lt;emulator&gt;/usr/libexec/qemu-kvm&lt;/emulator&gt;<br>      &lt;disk type=&#39;file&#39; device=&#39;cdrom&#39;&gt;<br>        &lt;driver name=&#39;qemu&#39; type=&#39;raw&#39;/&gt;<br>        &lt;source startupPolicy=&#39;optional&#39;/&gt;<br>        &lt;target dev=&#39;hdc&#39; bus=&#39;ide&#39;/&gt;<br>        &lt;readonly/&gt;<br>        &lt;serial&gt;&lt;/serial&gt;<br>        &lt;alias name=&#39;ide0-1-0&#39;/&gt;<br>        &lt;address type=&#39;drive&#39; controller=&#39;0&#39; bus=&#39;1&#39; target=&#39;0&#39; unit=&#39;0&#39;/&gt;<br>      &lt;/disk&gt;<br>      &lt;disk type=&#39;file&#39; device=&#39;disk&#39; snapshot=&#39;no&#39;&gt;<br>        &lt;driver name=&#39;qemu&#39; type=&#39;raw&#39; cache=&#39;none&#39; error_policy=&#39;stop&#39; io=&#39;threads&#39;/&gt;<br>        &lt;source file=&#39;/rhev/data-center/d187f1d4-e03a-485f-ae2d-f4e4faafc27e/54a27720-48bb-48d4-aeed-2a5c411a45d6/images/39954256-98eb-4b15-99b0-9b855e40fa72/adbd284d-e0c2-4829-98a2-68d938f93e77&#39;&gt;<br>          &lt;seclabel model=&#39;selinux&#39; relabel=&#39;no&#39;/&gt;<br>        &lt;/source&gt;<br>        &lt;target dev=&#39;sda&#39; bus=&#39;scsi&#39;/&gt;<br>        &lt;serial&gt;39954256-98eb-4b15-99b0-9b855e40fa72&lt;/serial&gt;<br>        &lt;boot order=&#39;1&#39;/&gt;<br>        &lt;alias name=&#39;scsi0-0-0-0&#39;/&gt;<br>        &lt;address type=&#39;drive&#39; controller=&#39;0&#39; bus=&#39;0&#39; target=&#39;0&#39; unit=&#39;0&#39;/&gt;<br>      &lt;/disk&gt;<br>      &lt;controller type=&#39;scsi&#39; index=&#39;0&#39; model=&#39;virtio-scsi&#39;&gt;<br>        &lt;alias name=&#39;scsi0&#39;/&gt;<br>        &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x04&#39; function=&#39;0x0&#39;/&gt;<br>      &lt;/controller&gt;<br>      &lt;controller type=&#39;virtio-serial&#39; index=&#39;0&#39; ports=&#39;16&#39;&gt;<br>        &lt;alias name=&#39;virtio-serial0&#39;/&gt;<br>        &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x05&#39; function=&#39;0x0&#39;/&gt;<br>      &lt;/controller&gt;<br>      &lt;controller type=&#39;usb&#39; index=&#39;0&#39;&gt;<br>        &lt;alias name=&#39;usb0&#39;/&gt;<br>        &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x01&#39; function=&#39;0x2&#39;/&gt;<br>      &lt;/controller&gt;<br>      &lt;controller type=&#39;ide&#39; index=&#39;0&#39;&gt;<br>        &lt;alias name=&#39;ide0&#39;/&gt;<br>        &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x01&#39; function=&#39;0x1&#39;/&gt;<br>      &lt;/controller&gt;<br>      &lt;interface type=&#39;bridge&#39;&gt;<br>        &lt;mac address=&#39;00:1a:4a:24:f2:00&#39;/&gt;<br>        &lt;source bridge=&#39;ovirtmgmt&#39;/&gt;<br>        &lt;bandwidth&gt;<br>        &lt;/bandwidth&gt;<br>        &lt;target dev=&#39;vnet0&#39;/&gt;<br>        &lt;model type=&#39;virtio&#39;/&gt;<br>        &lt;filterref filter=&#39;vdsm-no-mac-spoofing&#39;/&gt;<br>        &lt;link state=&#39;up&#39;/&gt;<br>        &lt;boot order=&#39;2&#39;/&gt;<br>        &lt;alias name=&#39;net0&#39;/&gt;<br>        &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x03&#39; function=&#39;0x0&#39;/&gt;<br>      &lt;/interface&gt;<br>      &lt;console type=&#39;pty&#39; tty=&#39;/dev/pts/1&#39;&gt;<br>        &lt;source path=&#39;/dev/pts/1&#39;/&gt;<br>        &lt;target type=&#39;virtio&#39; port=&#39;0&#39;/&gt;<br>        &lt;alias name=&#39;console0&#39;/&gt;<br>      &lt;/console&gt;<br>      &lt;channel type=&#39;unix&#39;&gt;<br>        &lt;source mode=&#39;bind&#39; path=&#39;/var/lib/libvirt/qemu/channels/fd27bf56-334c-4c83-836d-81314c24bb7d.com.redhat.rhevm.vdsm&#39;/&gt;<br>        &lt;target type=&#39;virtio&#39; name=&#39;com.redhat.rhevm.vdsm&#39;/&gt;<br>        &lt;alias name=&#39;channel0&#39;/&gt;<br>        &lt;address type=&#39;virtio-serial&#39; controller=&#39;0&#39; bus=&#39;0&#39; port=&#39;1&#39;/&gt;<br>      &lt;/channel&gt;<br>      &lt;channel type=&#39;unix&#39;&gt;<br>        &lt;source mode=&#39;bind&#39; path=&#39;/var/lib/libvirt/qemu/channels/fd27bf56-334c-4c83-836d-81314c24bb7d.org.qemu.guest_agent.0&#39;/&gt;<br>        &lt;target type=&#39;virtio&#39; name=&#39;org.qemu.guest_agent.0&#39;/&gt;<br>        &lt;alias name=&#39;channel1&#39;/&gt;<br>        &lt;address type=&#39;virtio-serial&#39; controller=&#39;0&#39; bus=&#39;0&#39; port=&#39;2&#39;/&gt;<br>      &lt;/channel&gt;<br>      &lt;input type=&#39;tablet&#39; bus=&#39;usb&#39;&gt;<br>        &lt;alias name=&#39;input0&#39;/&gt;<br>      &lt;/input&gt;<br>      &lt;input type=&#39;mouse&#39; bus=&#39;ps2&#39;/&gt;<br>      &lt;graphics type=&#39;vnc&#39; port=&#39;5900&#39; autoport=&#39;yes&#39; keymap=&#39;en-us&#39; passwd=&#39;*****&#39; passwdValidTo=&#39;1970-01-01T00:00:01&#39;&gt;<br>        &lt;listen type=&#39;network&#39; address=&#39;10.64.0.201&#39; network=&#39;vdsm-ovirtmgmt&#39; fromConfig=&#39;0&#39;/&gt;<br>      &lt;/graphics&gt;<br>      &lt;video&gt;<br>        &lt;model type=&#39;cirrus&#39; vram=&#39;32768&#39; heads=&#39;1&#39;/&gt;<br>        &lt;alias name=&#39;video0&#39;/&gt;<br>        &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x02&#39; function=&#39;0x0&#39;/&gt;<br>      &lt;/video&gt;<br>      &lt;hostdev mode=&#39;subsystem&#39; type=&#39;usb&#39; managed=&#39;no&#39;&gt;<br>        &lt;source&gt;<br>          &lt;vendor id=&#39;0x03f0&#39;/&gt;<br>          &lt;product id=&#39;0x5307&#39;/&gt;<br>          &lt;address bus=&#39;2&#39; device=&#39;5&#39;/&gt;<br>        &lt;/source&gt;<br>        &lt;alias name=&#39;hostdev0&#39;/&gt;<br>      &lt;/hostdev&gt;<br>      &lt;memballoon model=&#39;virtio&#39;&gt;<br>        &lt;alias name=&#39;balloon0&#39;/&gt;<br>        &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x07&#39; function=&#39;0x0&#39;/&gt;<br>      &lt;/memballoon&gt;<br>    &lt;/devices&gt;<br>    &lt;seclabel type=&#39;dynamic&#39; model=&#39;selinux&#39; relabel=&#39;yes&#39;&gt;<br>      &lt;label&gt;system_u:system_r:svirt_t:s0:c84,c423&lt;/label&gt;<br>      &lt;imagelabel&gt;system_u:object_r:svirt_image_t:s0:c84,c423&lt;/imagelabel&gt;<br>    &lt;/seclabel&gt;<br>  &lt;/domain&gt;<br>&lt;/domstatus&gt;<br><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div></div></div>
</div></div>