Hi Michal,

How can I generate libvirt xml from rhevm?

Thanks,
Steve


On Tue, Jul 22, 2014 at 4:12 AM, Michal Skrivanek <michal.skrivanek@redhat.com> wrote:

On 21 Jul 2014, at 20:54, Steve Dainard wrote:

I should mention I can mount this usb drive in a CentOS 6.5 VM without any problems.

Hi,
there should be no difference configuration-wise. well, please compare libvirt's xml to be sure and confirm
If it's the case then it might be a problem of qemu/kvm and/or windows

Thanks,
michal



On Mon, Jul 21, 2014 at 2:11 PM, Steve Dainard <sdainard@miovision.com> wrote:
I'm using the hostusb hook on RHEV 3.4 trial.

The usb device is passed through to the VM, but I'm getting errors in a Windows VM when the device driver is loaded.

I started with a simple usb drive, on the host it is listed as:

Bus 002 Device 010: ID 05dc:c75c Lexar Media, Inc. 

Which I added as 0x05dc:0xc75c to the Windows 7 x64 VM.

In Windows I get an error in device manager:
USB Mass Storage Device "This device cannot start. (Code 10)"
Properties/General Tab: Device type: Universal Serial Bus Controllers, Manufacturer: Compatible USB storage device, Location: Port_#0001.Hub_#0001

Under hardware Ids: 
USB\VID_05DC&PID_C75C&REV_0102
USB\VID_05DC&PID_C75C

So it looks like the proper USB device ID is passed to the VM.

I don't see any error messages in event viewer, and I don't see anything in VDSM logs either.

Any help is appreciated.

Steve

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users