All of lore.kernel.org
 help / color / mirror / Atom feed
From: Launchpad Bug Tracker <1674056@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1674056] Re: USB keyboard and mouse sucked into qemu-kvm (somewhere)
Date: Sun, 10 Jan 2021 04:17:28 -0000	[thread overview]
Message-ID: <161025224882.18863.11680259954105475394.malone@loganberry.canonical.com> (raw)
In-Reply-To: 20170319055044.30113.9822.malonedeb@wampee.canonical.com

[Expired for QEMU because there has been no activity for 60 days.]

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

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

Title:
  USB keyboard and mouse sucked into qemu-kvm (somewhere)

Status in QEMU:
  Expired

Bug description:
  i am unable to run a command line qemu that does not "suck in" the keyboard and mouse of the host PC
  i tried all that i could from the command line parameters i want to run a headless gui-less kvm host

  if i specify a second set of keyboard and mouse with the -usb the only thing that is diffrent is that i have a keyboard and mouse in the VM if i specify the host keyboard and mouse same thing ... the vm is working fine but the host has no control , no keyboard. i dont see any output of anything 
  the only recourse i have is ctrl+alt+delete  and that resets the host after 2-3 times. 

  i tried ctrl+alt, ctrl+alt+x , c , z , 2 , etc... also alt + all those combination and alt with F keys 
  no luck. 

  
  my command line looks like this (altough i tried many other variations)
   
  qemu-system-x86_64 -M q35 -enable-kvm \
  -cpu host,kvm=off -m 4096 -smp cpu=4,sockets=1,cores=4,treads=1 \
  -drive file=xyz.qcow2,if=scsi \
  -device vfio-pci, ... (GPU) \
  -device vfio-pci, .... (GPU audio) \
  -usb -usbdevice host:XXXX:XXXX -usbdevice host:XXXX:XXXX \   <<< same behaviour with and without
  -vga none -vnc localhost:1 -daemonize  

  i tried with -nographics , -curses, -monitor stdio, pty and none, same result and with -serial as well
  tried </dev/null at the end of the command no luck same with & 

  my guess is that the keyboard and mouse gets grabbed by the "window"
  of the qemu regardless if there is graphics or not and i have not foud
  a "-headless" ,"-nograb" or "-nopussygrab" mode . (yeah had to make
  the joke :P)

  hardware:
  Z97N-wifi 
  Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
  ram > 8Gb
  keyboard is logitech
  mouse is logitech

  distro is suse leap 42.1 (made with suseStudio)

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


      parent reply	other threads:[~2021-01-10  4:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-19  5:50 [Qemu-devel] [Bug 1674056] [NEW] USB keyboard and mouse sucked into qemu-kvm (somewhere) spongebob
2020-11-10 14:57 ` [Bug 1674056] " Thomas Huth
2021-01-10  4:17 ` Launchpad Bug Tracker [this message]

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=161025224882.18863.11680259954105475394.malone@loganberry.canonical.com \
    --to=1674056@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 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.