Lines Matching +full:a +full:- +full:display
6 ------------
8 First you must compile qemu with a user interface supporting
12 ./configure --enable-sdl
16 ./configure --enable-gtk
21 qemu -accel kvm -usb $memory $disk $whatever \
22 -display [ sdl | gtk ] \
23 -vga std \
24 -device usb-tablet
27 standard ps/2 keyboard (implicitly there) and the usb-tablet. Now the
30 -device pci-bridge,addr=12.0,chassis_nr=2,id=head.2 \
31 -device secondary-vga,bus=head.2,addr=02.0,id=video.2 \
32 -device nec-usb-xhci,bus=head.2,addr=0f.0,id=usb.2 \
33 -device usb-kbd,bus=usb.2.0,port=1,display=video.2 \
34 -device usb-tablet,bus=usb.2.0,port=2,display=video.2
36 This places a pci bridge in slot 12, connects a display adapter and
37 xhci (usb) controller to the bridge. Then it adds a usb keyboard and
38 usb mouse, both connected to the xhci and linked to the display.
40 The "display=video2" sets up the input routing. Any input coming from
41 the window which belongs to the video.2 display adapter will be routed
47 -device pci-bridge,addr=12.0,chassis_nr=2,id=head.2 \
48 -device secondary-vga,bus=head.2,addr=02.0,id=video.2 \
49 -device virtio-keyboard-pci,bus=head.2,addr=03.0,display=video.2 \
50 -device virtio-tablet-pci,bus=head.2,addr=03.0,display=video.2
55 -------
57 The sdl2 ui will start up with two windows, one for each display
58 device. The gtk ui will start with a single window and each display
59 in a separate tab. You can either simply switch tabs to switch heads,
61 to its own window so you can see both display devices side-by-side.
67 -display vnc=:1,id=primary \
68 -display vnc=:2,id=secondary,display=video.2
70 Connecting to vnc display :1 gives you access to the first seat, and
71 likewise connecting to vnc display :2 shows the second seat.
76 Fixing this needs a new or extended input interface between
77 libspice-server and qemu. For keyboard events it is even worse: The
83 ----------
85 You need a pretty recent linux guest. systemd with loginctl. kernel
90 Now we'll have to configure the guest. Boot and login. "lspci -vt"
91 should list the pci bridge with the display adapter and usb controller:
93 [root@fedora ~]# lspci -vt
94 -[0000:00]-+-00.0 Intel Corporation 440FX - 82441FX PMC [Natoma]
96 \-12.0-[01]--+-02.0 Device 1234:1111
97 \-0f.0 NEC Corporation USB 3.0 Host Controller
100 below it belong to a separate seat by dropping a file into
103 [root@fedora ~]# cat /etc/udev/rules.d/70-qemu-autoseat.rules
109 [root@fedora ~]# loginctl list-seats
112 seat-pci-pci-0000_00_12_0
116 You can use "loginctl seat-status seat-pci-pci-0000_00_12_0" to list
123 guest side with pci-bridge-seat
124 -------------------------------
126 QEMU version 2.4 and newer has a new pci-bridge-seat device which
127 can be used instead of pci-bridge. Just swap the device name in the
130 with a nice generic rule now, which simplifies the guest
133 [root@fedora ~]# cat /etc/udev/rules.d/70-qemu-pci-bridge-seat.rules
139 So, if your guest has this or a newer version, multiseat will work just
144 --