* kvm, emulation hangs when using some usb device
@ 2011-03-22 11:03 slavik
2011-03-22 16:57 ` David Ahern
2011-03-22 17:08 ` Erik Rull
0 siblings, 2 replies; 7+ messages in thread
From: slavik @ 2011-03-22 11:03 UTC (permalink / raw)
To: kvm
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?
ps: Linux workdesk 2.6.38-gentoo #1 SMP Mon Mar 21 18:10:13 YEKT 2011 x86_64
AMD Phenom(tm) II X6 1055T Processor AuthenticAMD GNU/Linux
--
wbr Slavik
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kvm, emulation hangs when using some usb device
2011-03-22 11:03 kvm, emulation hangs when using some usb device slavik
@ 2011-03-22 16:57 ` David Ahern
[not found] ` <AANLkTinwO=HMg2r5anNYawnm4sZf-XFj5HOdthqgBXGq@mail.gmail.com>
2011-03-22 17:08 ` Erik Rull
1 sibling, 1 reply; 7+ messages in thread
From: David Ahern @ 2011-03-22 16:57 UTC (permalink / raw)
To: slavik; +Cc: kvm
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?
>
> ps: Linux workdesk 2.6.38-gentoo #1 SMP Mon Mar 21 18:10:13 YEKT 2011 x86_64
> AMD Phenom(tm) II X6 1055T Processor AuthenticAMD GNU/Linux
>
> --
> wbr Slavik
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kvm, emulation hangs when using some usb device
2011-03-22 11:03 kvm, emulation hangs when using some usb device slavik
2011-03-22 16:57 ` David Ahern
@ 2011-03-22 17:08 ` Erik Rull
1 sibling, 0 replies; 7+ messages in thread
From: Erik Rull @ 2011-03-22 17:08 UTC (permalink / raw)
To: slavik; +Cc: kvm
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?
>
> ps: Linux workdesk 2.6.38-gentoo #1 SMP Mon Mar 21 18:10:13 YEKT 2011 x86_64
> AMD Phenom(tm) II X6 1055T Processor AuthenticAMD GNU/Linux
Have you enabled USB 2.0 on your host system? If yes -> causes issues
(Windows Bluescreen e.g.) with printers and sometimes other USB 2.0
devices. If you set it to USB 1.1, it should be fine but the transfer rate
is extremely low.
I would propose the ehci-patch from David, this works quite nice and gives
a good transfer performance and no bluescreens with printers and so on.
Best regards,
Erik
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kvm, emulation hangs when using some usb device
[not found] ` <4D88E57D.7060604@cisco.com>
@ 2011-03-22 18:20 ` slavik
2011-03-22 18:28 ` David Ahern
0 siblings, 1 reply; 7+ messages in thread
From: slavik @ 2011-03-22 18:20 UTC (permalink / raw)
To: David Ahern; +Cc: kvm
i suggest this is synonyms for single function, doesn't it?
On Tue, Mar 22, 2011 at 11:07 PM, David Ahern <daahern@cisco.com> 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@cisco.com> 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?
>>>
>>>
>>>
>>>>
>>>> ps: Linux workdesk 2.6.38-gentoo #1 SMP Mon Mar 21 18:10:13 YEKT 2011 x86_64
>>>> AMD Phenom(tm) II X6 1055T Processor AuthenticAMD GNU/Linux
>>>>
>>>> --
>>>> wbr Slavik
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>
>>>
>>
>>
>>
>
--
wbr Slavik
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kvm, emulation hangs when using some usb device
2011-03-22 18:20 ` slavik
@ 2011-03-22 18:28 ` David Ahern
2011-03-23 8:03 ` slavik
0 siblings, 1 reply; 7+ messages in thread
From: David Ahern @ 2011-03-22 18:28 UTC (permalink / raw)
To: slavik; +Cc: kvm
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@cisco.com> 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@cisco.com> 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?
>>>>
>>>>
>>>>
>>>>>
>>>>> ps: Linux workdesk 2.6.38-gentoo #1 SMP Mon Mar 21 18:10:13 YEKT 2011 x86_64
>>>>> AMD Phenom(tm) II X6 1055T Processor AuthenticAMD GNU/Linux
>>>>>
>>>>> --
>>>>> wbr Slavik
>>>>> --
>>>>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>>>>> the body of a message to majordomo@vger.kernel.org
>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>>
>>>>
>>>
>>>
>>>
>>
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kvm, emulation hangs when using some usb device
2011-03-22 18:28 ` David Ahern
@ 2011-03-23 8:03 ` slavik
2011-03-23 16:24 ` David Ahern
0 siblings, 1 reply; 7+ messages in thread
From: slavik @ 2011-03-23 8:03 UTC (permalink / raw)
To: David Ahern, kvm
it works for ZTE modem, but still hung with -usbdevice host:2022:0008
(amikon vpn key).
any ideas?
On Tue, Mar 22, 2011 at 6:28 PM, David Ahern <daahern@cisco.com> 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@cisco.com> 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@cisco.com> 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?
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> ps: Linux workdesk 2.6.38-gentoo #1 SMP Mon Mar 21 18:10:13 YEKT 2011 x86_64
>>>>>> AMD Phenom(tm) II X6 1055T Processor AuthenticAMD GNU/Linux
>>>>>>
>>>>>> --
>>>>>> wbr Slavik
>>>>>> --
>>>>>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
--
wbr Slavik
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kvm, emulation hangs when using some usb device
2011-03-23 8:03 ` slavik
@ 2011-03-23 16:24 ` David Ahern
0 siblings, 0 replies; 7+ messages in thread
From: David Ahern @ 2011-03-23 16:24 UTC (permalink / raw)
To: slavik; +Cc: kvm
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@cisco.com> 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@cisco.com> 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@cisco.com> 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?
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-03-23 16:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-22 11:03 kvm, emulation hangs when using some usb device slavik
2011-03-22 16:57 ` David Ahern
[not found] ` <AANLkTinwO=HMg2r5anNYawnm4sZf-XFj5HOdthqgBXGq@mail.gmail.com>
[not found] ` <4D88E57D.7060604@cisco.com>
2011-03-22 18:20 ` slavik
2011-03-22 18:28 ` David Ahern
2011-03-23 8:03 ` slavik
2011-03-23 16:24 ` David Ahern
2011-03-22 17:08 ` Erik Rull
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.