On 03/23/11 02:03, slavik wrote: > it works for ZTE modem, but still hung with -usbdevice host:2022:0008 > (amikon vpn key). > any ideas? I am not familiar with that device. It may well not be compatible going through the USB 1.1 controller. So -usbdevice cleared the "freeze"/"hung" problem the other device -- the modem? David > > On Tue, Mar 22, 2011 at 6:28 PM, David Ahern <daahern@xxxxxxxxx> wrote: >> >> >> On 03/22/11 12:20, slavik wrote: >>> i suggest this is synonyms for single function, doesn't it? >>> >> >> It's the legacy syntax - you are already using it with the tablet >> option. If it cleared your problem then it is also synonymous for bug in >> the -device route. >> >> >>> On Tue, Mar 22, 2011 at 11:07 PM, David Ahern <daahern@xxxxxxxxx> wrote: >>>> >>>> >>>> On 03/22/11 11:53, slavik wrote: >>>>> hi, as usual >>>>> kvm -boot d -usbdevice tablet -vnc :8 -monitor >>>>> telnet:0.0.0.0:4008,server,nowait -drive >>>>> file="/winxp.img",cache=unsafe,if=virtio,boot=on,aio=native -balloon >>>>> virtio -name vmwin >>>>> 1 -fda /virtio-win-1.1.16.vfd -enable-kvm -m 1024 -usb -smp 2 -device >>>>> usb-host,hostbus=002,hostaddr=003,id=usbdev2 -device >>>>> usb-host,hostbus=005,hostaddr=003,id=usbdev4 >>>> >>>> try -usbdevice host:bus.addr instead of -device. So, >>>> -usbdevice host:002.003 -usbdevice host:005.003 >>>> >>>>> >>>>> I was tried "-no-kvm-irqchip" and "-no-kvm-pit", nothing changes, with >>>>> "-no-kvm" it does not work too, but with other symptoms. >>>>> >>>>> On Tue, Mar 22, 2011 at 9:57 PM, David Ahern <daahern@xxxxxxxxx> wrote: >>>>>> >>>>>> >>>>>> On 03/22/11 05:03, slavik wrote: >>>>>>> I have some troubles with passing usb into kvm virtual machine. >>>>>>> I trying to provide the usb device 2022:0008 (Amikon vpn key) or 19d2:2000 >>>>>>> (ZTE MF112 hsdpa modem) into virtual machine with windows xp iax32. >>>>>>> kvm virtual machine was hung completely, and stop responding to anything. >>>>>>> Maybe I need there some trick to use this kind (switchable?) of usb devices? >>>>>> >>>>>> As a command line option? If so what options did you use for the usb >>>>>> components? -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html