qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1377095] Re: KVM guest VM does not reattach a throughpassed USB pri


From: Thomas Huth
Subject: [Bug 1377095] Re: KVM guest VM does not reattach a throughpassed USB printer from Host after switching printer off and on
Date: Mon, 03 May 2021 16:47:57 -0000

This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:

 https://gitlab.com/qemu-project/qemu/-/issues/110


** Changed in: qemu
       Status: New => Expired

** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #110
   https://gitlab.com/qemu-project/qemu/-/issues/110

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1377095

Title:
  KVM guest VM does not reattach a throughpassed USB printer from Host
  after switching printer off and on

Status in QEMU:
  Expired

Bug description:
  
  Host OS: Gentoo, all packages built 2014-10-01

  qemu version 2.1.0-r1

  Linux kernel 3.14.14   x86_64 Intel(R) Core(TM) i3-3220T CPU @ 2.80GHz
  GenuineIntel GNU/Linux

  
  Guest VM: Debian 7 (Wheezy) Linux 3.2.0 686

  
  Start command:
  /usr/bin/qemu-system-i386 -enable-kvm -name wheezy -k de -serial null 
-parallel null -hda /var/kvm/wheezy.kvm-img -daemonize -net 
nic,macaddr=02:00:00:00:01:31 -net tap,ifname=tap3,script=no,downscript=no -m 
512 -pidfile /var/run/kvm/wheezy.pid -usb -usbdevice tablet -runas myuser -vnc 
127.0.0.1:3 -usbdevice host:04e8:3242

  Problem:
  USB printer pass-through from KVM host to guest vm only works if I start the 
qemu kvm when the USB printer (vendor/product ID 04e8:3242) is switched on and 
therefore shown in lsusb on the host. Then it is available in the started VM.

  But when I switch the usb printer attached to the host off, it
  disappears in lsusb both on the host and the VM (as expected) but when
  I switch the USB printer on again, it is shown on the host and also on
  the QEMU Monitor (Crtl Alt Shift 2 -> info usbhost), but in the VM
  lsusb does not show it again- so USB pass-through / hot plugging does
  not work. It worked with a previous Version of qemu (1.0 or
  something).

  That is very annoying, because every time I want to print something, I need 
to shutdown the VM, start the printer, and then start the VM (which runs cups 
as printer server).
  But after printing, I do not want the printer to keep running, so I switch it 
off.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1377095/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]