|
From: | Jakob Bohm |
Subject: | Re: [Qemu-discuss] passthrough keyboard/mouse |
Date: | Fri, 31 Oct 2014 18:32:01 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 31/10/2014 16:13, Tobias Specht
wrote:
As a more obvious alternative: Does qemu provide a way to pass theHi, I'm running Fedora 21 Alpha with qemu version 2.1.2 and linux kernel 3.16 an a notebook with intel VT-d. Forwarding the graphics card is working really well. The guest system is Windows 7 x64. The only devices that are missing inside the VM are the internal keyboard and mouse. These devices are NOT connected via USB to the host instead they are connected via PS/2 [ 1.045386] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 [ 1.047179] i8042: Detected active multiplexing controller, rev 1.1 [ 1.048002] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.048006] serio: i8042 AUX0 port at 0x60,0x64 irq 12 [ 1.048025] serio: i8042 AUX1 port at 0x60,0x64 irq 12 [ 1.048040] serio: i8042 AUX2 port at 0x60,0x64 irq 12 [ 1.048055] serio: i8042 AUX3 port at 0x60,0x64 irq 12 [ 1.048186] mousedev: PS/2 mouse device common for all mice Disabling legacy USB support in the BIOS doesn't change anything keyboard/mouse are still connected via PS/2. The PS/2 controller is directly connected to the chipset which appears on the host as an PCI device: 00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) I could imagine that it is not possible to passthrough the chipset to the virtual machine. I want to use the internal keyboard/mouse inside the virtual machine because I wont to use the notebook without the need for an external keyboard. Does qemu provide a possibility to share the host keyboard and mouse with a guest when not using a virtual display? host attached PS/2 keyboard/mouse through to the virtual PS/2 keyboard/mouse of the virtual PC chipset? Note that these are essentially character devices, although only the mouse may be directly exposed (as /dev/psaux) by the host kernel. Perhaps some of the options used when qemu powers the XEN Dom0 handling of XEN DomU I/O can do this? Enjoy Jakob -- Jakob Bohm, CIO, Partner, WiseMo A/S. http://www.wisemo.com Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10 This public discussion message is non-binding and may contain errors. WiseMo - Remote Service Management for PCs, Phones and Embedded |
[Prev in Thread] | Current Thread | [Next in Thread] |