<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"><<a href="mailto:dd432690@gmail.com" target="_blank">dd432690@gmail.com</a>></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: "This device cannot start: (Code 10)"<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><!--<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>--><br><br><domstatus state='running' reason='booted' pid='22624'><br> <monitor path='/var/lib/libvirt/qemu/win2012.monitor' json='1' type='unix'/><br> <vcpus><br> <vcpu pid='22630'/><br> </vcpus><br> <qemuCaps><br> <flag name='vnc-colon'/><br> <flag name='no-reboot'/><br> <flag name='drive'/><br> <flag name='name'/><br> <flag name='uuid'/><br> <flag name='vnet-hdr'/><br> <flag name='migrate-qemu-tcp'/><br> <flag name='migrate-qemu-exec'/><br> <flag name='drive-cache-v2'/><br> <flag name='kvm'/><br> <flag name='drive-format'/><br> <flag name='vga'/><br> <flag name='0.10'/><br> <flag name='pci-device'/><br> <flag name='mem-path'/><br> <flag name='drive-serial'/><br> <flag name='migrate-qemu-unix'/><br> <flag name='chardev'/><br> <flag name='enable-kvm'/><br> <flag name='monitor-json'/><br> <flag name='balloon'/><br> <flag name='device'/><br> <flag name='smp-topology'/><br> <flag name='netdev'/><br> <flag name='rtc'/><br> <flag name='vhost-net'/><br> <flag name='no-kvm-pit'/><br> <flag name='tdf'/><br> <flag name='pci-configfd'/><br> <flag name='nodefconfig'/><br> <flag name='boot-menu'/><br> <flag name='name-process'/><br> <flag name='drive-readonly'/><br> <flag name='smbios-type'/><br> <flag name='vga-qxl'/><br> <flag name='spice'/><br> <flag name='vga-none'/><br> <flag name='migrate-qemu-fd'/><br> <flag name='boot-index'/><br> <flag name='hda-duplex'/><br> <flag name='drive-aio'/><br> <flag name='pci-multibus'/><br> <flag name='pci-bootindex'/><br> <flag name='ccid-passthru'/><br> <flag name='chardev-spicevmc'/><br> <flag name='virtio-tx-alg'/><br> <flag name='device-qxl-vga'/><br> <flag name='pci-multifunction'/><br> <flag name='virtio-blk-pci.ioeventfd'/><br> <flag name='sga'/><br> <flag name='virtio-blk-pci.event_idx'/><br> <flag name='virtio-net-pci.event_idx'/><br> <flag name='cache-directsync'/><br> <flag name='piix3-usb-uhci'/><br> <flag name='piix4-usb-uhci'/><br> <flag name='usb-ehci'/><br> <flag name='ich9-usb-ehci1'/><br> <flag name='usb-redir'/><br> <flag name='usb-hub'/><br> <flag name='no-shutdown'/><br> <flag name='cache-unsafe'/><br> <flag name='rombar'/><br> <flag name='no-acpi'/><br> <flag name='virtio-blk-pci.scsi'/><br> <flag name='blk-sg-io'/><br> <flag name='drive-copy-on-read'/><br> <flag name='cpu-host'/><br> <flag name='drive-iotune'/><br> <flag name='system_wakeup'/><br> <flag name='scsi-disk.channel'/><br> <flag name='scsi-block'/><br> <flag name='transaction'/><br> <flag name='block-job-async'/><br> <flag name='scsi-cd'/><br> <flag name='hda-micro'/><br> <flag name='dump-guest-memory'/><br> <flag name='balloon-event'/><br> <flag name='virtio-scsi-pci'/><br> <flag name='blockio'/><br> <flag name='disable-s3'/><br> <flag name='disable-s4'/><br> <flag name='usb-redir.filter'/><br> <flag name='ide-drive.wwn'/><br> <flag name='scsi-disk.wwn'/><br> <flag name='reboot-timeout'/><br> <flag name='dump-guest-core'/><br> <flag name='seamless-migration'/><br> <flag name='block-commit'/><br> <flag name='disable-ksm'/><br> <flag name='virtio-net-pci.__com_redhat_macvtap_compat'/><br> <flag name='drive-mirror'/><br> <flag name='blockdev-snapshot-sync'/><br> <flag name='qxl'/><br> <flag name='VGA'/><br> <flag name='cirrus-vga'/><br> <flag name='ipv6-migration'/><br> <flag name='vnc-share-policy'/><br> <flag name='mlock'/><br> <flag name='virtio-rng'/><br> <flag name='rng-random'/><br> <flag name='rng-egd'/><br> <flag name='pvpanic'/><br> <flag name='spice-file-xfer-disable'/><br> <flag name='host-pci-multidomain'/><br> <flag name='msg-timestamp'/><br> <flag name='device-del-event'/><br> </qemuCaps><br> <devices><br> <device alias='usb'/><br> <device alias='net0'/><br> <device alias='scsi0'/><br> <device alias='virtio-serial0'/><br> <device alias='balloon0'/><br> </devices><br> <domain type='kvm' id='30'><br> <name>win2012</name><br> <uuid>fd27bf56-334c-4c83-836d-81314c24bb7d</uuid><br> <memory unit='KiB'>1048576</memory><br> <currentMemory unit='KiB'>1048576</currentMemory><br> <vcpu placement='static' current='1'>16</vcpu><br> <cputune><br> <shares>1020</shares><br> </cputune><br> <sysinfo type='smbios'><br> <system><br> <entry name='manufacturer'>oVirt</entry><br> <entry name='product'>oVirt Node</entry><br> <entry name='version'>6-6.el6.centos.12.2</entry><br> <entry name='serial'>DE1EED73-4B49-6742-A2CD-3A24C43D4489</entry><br> <entry name='uuid'>fd27bf56-334c-4c83-836d-81314c24bb7d</entry><br> </system><br> </sysinfo><br> <os><br> <type arch='x86_64' machine='rhel6.5.0'>hvm</type><br> <smbios mode='sysinfo'/><br> </os><br> <features><br> <acpi/><br> </features><br> <cpu mode='custom' match='exact'><br> <model fallback='allow'>SandyBridge</model><br> <topology sockets='16' cores='1' threads='1'/><br> </cpu><br> <clock offset='variable' adjustment='0' basis='utc'><br> <timer name='rtc' tickpolicy='catchup'/><br> <timer name='pit' tickpolicy='delay'/><br> <timer name='hpet' present='no'/><br> </clock><br> <on_poweroff>destroy</on_poweroff><br> <on_reboot>restart</on_reboot><br> <on_crash>destroy</on_crash><br> <devices><br> <emulator>/usr/libexec/qemu-kvm</emulator><br> <disk type='file' device='cdrom'><br> <driver name='qemu' type='raw'/><br> <source startupPolicy='optional'/><br> <target dev='hdc' bus='ide'/><br> <readonly/><br> <serial></serial><br> <alias name='ide0-1-0'/><br> <address type='drive' controller='0' bus='1' target='0' unit='0'/><br> </disk><br> <disk type='file' device='disk' snapshot='no'><br> <driver name='qemu' type='raw' cache='none' error_policy='stop' io='threads'/><br> <source file='/rhev/data-center/d187f1d4-e03a-485f-ae2d-f4e4faafc27e/54a27720-48bb-48d4-aeed-2a5c411a45d6/images/39954256-98eb-4b15-99b0-9b855e40fa72/adbd284d-e0c2-4829-98a2-68d938f93e77'><br> <seclabel model='selinux' relabel='no'/><br> </source><br> <target dev='sda' bus='scsi'/><br> <serial>39954256-98eb-4b15-99b0-9b855e40fa72</serial><br> <boot order='1'/><br> <alias name='scsi0-0-0-0'/><br> <address type='drive' controller='0' bus='0' target='0' unit='0'/><br> </disk><br> <controller type='scsi' index='0' model='virtio-scsi'><br> <alias name='scsi0'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/><br> </controller><br> <controller type='virtio-serial' index='0' ports='16'><br> <alias name='virtio-serial0'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/><br> </controller><br> <controller type='usb' index='0'><br> <alias name='usb0'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/><br> </controller><br> <controller type='ide' index='0'><br> <alias name='ide0'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/><br> </controller><br> <interface type='bridge'><br> <mac address='00:1a:4a:24:f2:00'/><br> <source bridge='ovirtmgmt'/><br> <bandwidth><br> </bandwidth><br> <target dev='vnet0'/><br> <model type='virtio'/><br> <filterref filter='vdsm-no-mac-spoofing'/><br> <link state='up'/><br> <boot order='2'/><br> <alias name='net0'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/><br> </interface><br> <console type='pty' tty='/dev/pts/1'><br> <source path='/dev/pts/1'/><br> <target type='virtio' port='0'/><br> <alias name='console0'/><br> </console><br> <channel type='unix'><br> <source mode='bind' path='/var/lib/libvirt/qemu/channels/fd27bf56-334c-4c83-836d-81314c24bb7d.com.redhat.rhevm.vdsm'/><br> <target type='virtio' name='com.redhat.rhevm.vdsm'/><br> <alias name='channel0'/><br> <address type='virtio-serial' controller='0' bus='0' port='1'/><br> </channel><br> <channel type='unix'><br> <source mode='bind' path='/var/lib/libvirt/qemu/channels/fd27bf56-334c-4c83-836d-81314c24bb7d.org.qemu.guest_agent.0'/><br> <target type='virtio' name='org.qemu.guest_agent.0'/><br> <alias name='channel1'/><br> <address type='virtio-serial' controller='0' bus='0' port='2'/><br> </channel><br> <input type='tablet' bus='usb'><br> <alias name='input0'/><br> </input><br> <input type='mouse' bus='ps2'/><br> <graphics type='vnc' port='5900' autoport='yes' keymap='en-us' passwd='*****' passwdValidTo='1970-01-01T00:00:01'><br> <listen type='network' address='10.64.0.201' network='vdsm-ovirtmgmt' fromConfig='0'/><br> </graphics><br> <video><br> <model type='cirrus' vram='32768' heads='1'/><br> <alias name='video0'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/><br> </video><br> <hostdev mode='subsystem' type='usb' managed='no'><br> <source><br> <vendor id='0x03f0'/><br> <product id='0x5307'/><br> <address bus='2' device='5'/><br> </source><br> <alias name='hostdev0'/><br> </hostdev><br> <memballoon model='virtio'><br> <alias name='balloon0'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/><br> </memballoon><br> </devices><br> <seclabel type='dynamic' model='selinux' relabel='yes'><br> <label>system_u:system_r:svirt_t:s0:c84,c423</label><br> <imagelabel>system_u:object_r:svirt_image_t:s0:c84,c423</imagelabel><br> </seclabel><br> </domain><br></domstatus><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>