Displaying 5 results from an estimated 5 matches for "my_usb_disk".
2013 Dec 17
2
How to attach USB disk to specified USB controller in domian?
...started it, I found all USB disk had been attached to same USB controller automatically, I want to assign some USB disks to another controller manually but I can't find the entry. qemu-kvm has provided command line to support it by using "bus" argument.(like: device_add usb-storage,id=my_usb_disk,drive=my_usb_disk,bus=usb.0 )
Action steps:
1. Add some USB disks to domain xml,
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/usb-img/usb-1.img'/>
<target dev=...
2013 Dec 18
1
Re: How to attach USB disk to specified USB controller in domian?
...started it, I found all USB disk had been attached to same USB controller automatically, I want to assign some USB disks to another controller manually but I can't find the entry. qemu-kvm has provided command line to support it by using "bus" argument.(like: device_add usb-storage,id=my_usb_disk,drive=my_usb_disk,bus=usb.0 )
>
> Action steps:
> 1. Add some USB disks to domain xml,
> <disk type='file' device='disk'>
> <driver name='qemu' type='raw'/>
> <source file='/var/lib/libvirt/images/usb-img/usb-1.img...
2018 May 04
0
Hello ,How Can I do USB emulation
I have a usb.img file, and i want to create a usbdisk(USB emulation) for vpc in a kvm server.
I found something like this:
qemu-system-x86_64 -device piix3-usb-uhci \ -drive id=my_usb_disk,file=usbdisk.img,if=none \ -device usb-storage,drive=my_usb_disk
but i want to do it in a xml files for libvirt.
i did not find any example for it.
how can i do it
thank u very much.
2011 Apr 26
0
How to providing virtual USB disk (usb-storage for QEMU) devices to guests?
Hi,
I am trying to provide virtual USB disk devices to guests but without success. With QEMU is simple to plug the virtual USB disk with the command:
(qemu) drive_add 0 id=my_usb_disk,if=none,file=usbdisk.img
OK
(qemu) device_add usb-storage,id=my_usb_disk,drive=my_usb_dis
I can do this with libvirt?
PK
PS: sorry for my poor english
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-user...
2013 Dec 17
0
Re: How to attach USB disk to specified USB controller in domian?
...started it, I found all USB disk had been attached to same USB controller automatically, I want to assign some USB disks to another controller manually but I can't find the entry. qemu-kvm has provided command line to support it by using "bus" argument.(like: device_add usb-storage,id=my_usb_disk,drive=my_usb_disk,bus=usb.0 )
>
> Action steps:
> 1. Add some USB disks to domain xml,
> <disk type='file' device='disk'>
> <driver name='qemu' type='raw'/>
> <source file='/var/lib/libvirt/images/usb-img/usb-1.img...