mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
add pci-bridge-seat
Simplifies multiseat configuration, see docs/multiseat.txt update for details. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
72d97b3a54
commit
eb6c6a6048
4 changed files with 45 additions and 1 deletions
|
@ -106,6 +106,25 @@ the devices attached to the seat.
|
|||
Background info is here:
|
||||
http://www.freedesktop.org/wiki/Software/systemd/multiseat/
|
||||
|
||||
|
||||
guest side with pci-bridge-seat
|
||||
-------------------------------
|
||||
|
||||
Qemu version FIXME and newer has a new pci-bridge-seat device which
|
||||
can be used instead of pci-bridge. Just swap the device name in the
|
||||
qemu command line above. The only difference between the two devices
|
||||
is the pci id. We can match the pci id instead of the device path
|
||||
with a nice generic rule now, which simplifies the guest
|
||||
configuration:
|
||||
|
||||
[root@fedora ~]# cat /etc/udev/rules.d/70-qemu-pci-bridge-seat.rules
|
||||
SUBSYSTEM=="pci", ATTR{vendor}=="0x1b36", ATTR{device}=="0x000a", \
|
||||
TAG+="seat", ENV{ID_AUTOSEAT}="1"
|
||||
|
||||
Patch with this rule will be submitted to upstream udev/systemd, so
|
||||
long-term, when systemd with this lands in distros, things will work
|
||||
just fine without any manual guest configuration.
|
||||
|
||||
Enjoy!
|
||||
|
||||
--
|
||||
|
|
|
@ -47,6 +47,7 @@ PCI devices (other than virtio):
|
|||
1b36:0005 PCI test device (docs/specs/pci-testdev.txt)
|
||||
1b36:0006 PCI Rocker Ethernet switch device
|
||||
1b36:0007 PCI SD Card Host Controller Interface (SDHCI)
|
||||
1b36:000a PCI-PCI bridge (multiseat)
|
||||
|
||||
All these devices are documented in docs/specs.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue