From: "Martin Röh" <martin@roeh.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1320360] Re: usb passthrough not working anymore
Date: Sun, 18 May 2014 20:35:10 -0000 [thread overview]
Message-ID: <5379197E.8060205@roeh.org> (raw)
In-Reply-To: 20140516231524.16466.9422.malone@gac.canonical.com
The command line is
/usr/bin/qemu-system-x86_64 -machine accel=kvm -name win8 -S -machine
pc-i440fx-2.0,accel=kvm,usb=off -cpu Nehalem -m 2048 -realtime mlock=off
-smp 2,sockets=2,cores=1,threads=1 -uuid
424ca5ec-2fb4-4d1c-84c4-25b92d468b8e -no-user-config -nodefaults
-chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/win8.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=discard
-no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global
PIIX4_PM.disable_s4=1 -boot strict=on -device
ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 -device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4
-device
ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1
-device
ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2
-device ahci,id=ahci0,bus=pci.0,addr=0x7 -drive
file=/opt/emu/win8.raw,if=none,id=drive-virtio-disk0,format=raw -device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2
-netdev tap,fd=22,id=hostnet0,vhost=on,vhostfd=23 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:44:d1:dc,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0
-vnc 127.0.0.1:0 -device VGA,id=video0,bus=pci.0,addr=0x2 -device
intel-hda,id=sound0,bus=pci.0,addr=0x8 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
Am 17.05.2014 01:15, schrieb Lekensteyn:
> Be sure to add the -usb option. What is your command line?
>
> See also
> http://git.qemu.org/?p=qemu.git;a=blob;f=docs/usb2.txt;h=c7a445afcd55fe1f12033d529d668a1306d5a9f4;hb=HEAD#l111
>
--
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
next prev parent reply other threads:[~2014-05-18 20:45 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 [this message]
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
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=5379197E.8060205@roeh.org \
--to=martin@roeh.org \
--cc=1320360@bugs.launchpad.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).