KVM / Windows XP guest / USB devices
scar
scar at drigon.com
Sun Feb 7 22:33:51 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
scar @ 02/04/2010 12:17 PM:
> [snip]
> i have an external USB hard disk plugged into the host system, and
> it is formatted fat32. i want to read/write to this disk in the winxp
> guest.
figured this part out. in virt-manager i opened the VM, went to the
hardware tab, and added a storage device. i chose block device and
pointed it to the entire disk, not the partition (e.g. /dev/sdb and not
/dev/sdb1). i chose type 'ide device' and then booted up the VM.
worked great.
> additionally, i have a scanner which isn't yet supported by sane (which
> was the main reason for installing a winxp guest OS) that i want to
> install the drivers for and use inside the winxp guest.
still trying to figure this part out.
i tried using 'lsusb' to get the ID of the device (xxxx:yyyy), and then
i manually added a USB device to the VM's XML file (in
/etc/libvirt/qemu) following the info at [1]. i took xxxx to be the
vendor id and yyyy to be the product id, and prepended "0x". then i
redefined the VM ('sudo virsh define /etc/libvirt/qemu/myvm.xml') and
restarted it. but that didn't work... i can't even see the device
showing up in device manager...
1. http://libvirt.org/formatdomain.html#elementsUSB
-----BEGIN PGP SIGNATURE-----
iEYEAREIAAYFAktvP88ACgkQXhfCJNu98qBr5QCfeEj75nfQfZV3sU754QaXsgL3
ixcAoIgisTBpSOuFIK0FiBikPGSWepKC
=TO15
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list