All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin Röh" <martin@roeh.org>
To: "Gonglei (Arei)" <arei.gonglei@huawei.com>,
	Bug 1320360 <1320360@bugs.launchpad.net>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [Bug 1320360] [NEW] usb passthrough not working anymore
Date: Sun, 18 May 2014 22:39:53 +0200	[thread overview]
Message-ID: <53791A99.7050702@roeh.org> (raw)
In-Reply-To: <33183CC9F5247A488A2544077AF19020815F1ADA@SZXEMA503-MBS.china.huawei.com>

[-- Attachment #1: Type: text/plain, Size: 3591 bytes --]

Hi,

if I try to start the vm by virt-manager I get this detailed error log:

Fehler beim Starten der Domain: internal error: early end of file from 
monitor: possible problem:
qemu-system-x86_64: -device usb-host,hostbus=1,hostaddr=3,id=hostdev0: 
'usb-host' is not a valid device model name


Traceback (most recent call last):
   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in 
cb_wrapper
     callback(asyncjob, *args, **kwargs)
   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 127, in 
tmpcb
     callback(*args, **kwargs)
   File "/usr/share/virt-manager/virtManager/domain.py", line 1363, in 
startup
     self._backend.create()
   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 917, in create
     if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error: early end of file from monitor: possible 
problem:
qemu-system-x86_64: -device usb-host,hostbus=1,hostaddr=3,id=hostdev0: 
'usb-host' is not a valid device model name

Regards

Martin

Am 18.05.2014 06:52, schrieb Gonglei (Arei):
> Hi,
>
>  From qemu-1.7 release version, the old usb-host(host-linux.c) had been removed,
> re-implemented by libusbx. So you should build qemu with --enable-libusb, then
> you can use usb pass-through capacity.
>
> BTW, Gerd, should we enable libusb by default now? Thanks.
>
>
> Best regards,
> -Gonglei
>
>> -----Original Message-----
>> From: qemu-devel-bounces+arei.gonglei=huawei.com@nongnu.org
>> [mailto:qemu-devel-bounces+arei.gonglei=huawei.com@nongnu.org] On
>> Behalf Of Martin R?h
>> Sent: Saturday, May 17, 2014 3:35 AM
>> To: qemu-devel@nongnu.org
>> Subject: [Qemu-devel] [Bug 1320360] [NEW] usb passthrough not working
>> anymore
>>
>> Public bug reported:
>>
>> Hi,
>>
>> I'm using qemu 2.0.0 with opensuse 13.1 x84_64 bit as host and window7
>> as guest. Til qemu version 1.6.2 USB passthrough works perfectly, but
>> starting with qemu 2.0.0 passthrough stop working. I can still add the
>> usb device but when I start the guest following message appears:
>>
>> "unable to execute QEMU command 'device_add': 'usb-host' is not a valid
>> device model name"
>>
>> Then the guest will not start.
>>
>> I try it with different usb devices (iphone, stick, hdd), always the
>> same error.
>>
>> Are there any news / hints about this ?
>>
>> Regards
>>
>> Martin
>>
>> ** Affects: qemu
>>       Importance: Undecided
>>           Status: New
>>
>> --
>> You received this bug notification because you are a member of qemu-
>> devel-ml, which is subscribed to QEMU.
>> https://bugs.launchpad.net/bugs/1320360
>>
>> Title:
>>    usb passthrough not working anymore
>>
>> Status in QEMU:
>>    New
>>
>> Bug description:
>>    Hi,
>>
>>    I'm using qemu 2.0.0 with opensuse 13.1 x84_64 bit as host and window7
>>    as guest. Til qemu version 1.6.2 USB passthrough works perfectly, but
>>    starting with qemu 2.0.0 passthrough stop working. I can still add the
>>    usb device but when I start the guest following message appears:
>>
>>    "unable to execute QEMU command 'device_add': 'usb-host' is not a
>>    valid device model name"
>>
>>    Then the guest will not start.
>>
>>    I try it with different usb devices (iphone, stick, hdd), always the
>>    same error.
>>
>>    Are there any news / hints about this ?
>>
>>    Regards
>>
>>    Martin
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/qemu/+bug/1320360/+subscriptions
>


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4237 bytes --]

  parent reply	other threads:[~2014-05-18 20:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-16 19:34 [Qemu-devel] [Bug 1320360] [NEW] usb passthrough not working anymore Martin Röh
2014-05-16 23:15 ` [Qemu-devel] [Bug 1320360] " Lekensteyn
2014-05-18 20:35   ` Martin Röh
2014-05-18  4:52 ` [Qemu-devel] [Bug 1320360] [NEW] " Gonglei (Arei)
2014-05-18 20:36   ` Martin Röh
2014-05-19  5:57     ` Gerd Hoffmann
2014-05-18 20:39   ` Martin Röh [this message]
2014-05-19  1:51     ` Gonglei (Arei)
2014-05-19 21:15 ` [Qemu-devel] [Bug 1320360] " Bruce Rogers
2014-06-09 17:20 ` Maarten
2014-06-09 17:29 ` Maarten
2014-06-09 18:29 ` Maarten
2017-10-03 10:42 ` Thomas Huth
2017-10-03 14:04   ` Martin Röh
2017-10-03 14:52 ` Thomas Huth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53791A99.7050702@roeh.org \
    --to=martin@roeh.org \
    --cc=1320360@bugs.launchpad.net \
    --cc=arei.gonglei@huawei.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.