tests: remove explicit <driver name='vfio'/> from hostdev test cases

The long-deprecated use of <driver name='vfio|xen|kvm'/> in domain xml
for <hostdev> devices was only ever necessary during the period when
libvirt (and the Linux kernel) supported both VFIO and "legacy KVM"
styles of hostdev device assignment for QEMU. This became pointless
many years ago when legacy KVM device assignment was removed from the
kernel, and support for that style of device assignment was completely
disabled in the libvirt source in 2019 (commit
v5.6.0-316-g2e7225ea8c).

Nevertheless, there were instances of <driver name='vfio'/> in the
unit test data that were then (unnecessarily) propagated to several
more tests over the years. This patch cleans out those unnecessary
explicit settings of driver name='vfio' in all QEMU unit test data,
proving that the attribute is no longer (externally) needed. (A later
patch which adds a 2nd attribute to the <driver> element will include
a test case that explicitly exercises the driver name attribute).

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Laine Stump 2024-01-04 20:12:51 -05:00
parent 9363c1cb69
commit 956e1ca6aa
53 changed files with 46 additions and 99 deletions

View File

@ -5232,7 +5232,6 @@ or stopping the guest.
... ...
<devices> <devices>
<interface type='hostdev' managed='yes'> <interface type='hostdev' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</source> </source>

View File

@ -392,7 +392,6 @@ to the physical LAN (if at all).
... ...
<forward mode='hostdev' managed='yes'> <forward mode='hostdev' managed='yes'>
<driver name='vfio'/>
<address type='pci' domain='0' bus='4' slot='0' function='1'/> <address type='pci' domain='0' bus='4' slot='0' function='1'/>
<address type='pci' domain='0' bus='4' slot='0' function='2'/> <address type='pci' domain='0' bus='4' slot='0' function='2'/>
<address type='pci' domain='0' bus='4' slot='0' function='3'/> <address type='pci' domain='0' bus='4' slot='0' function='3'/>

View File

@ -163,7 +163,6 @@ rather than emulation.
... ...
<plug type='hostdev-pci' managed='yes'> <plug type='hostdev-pci' managed='yes'>
<driver name='vfio'/>
<address domain='0x0001' bus='0x02' slot='0x03' function='0x4'/> <address domain='0x0001' bus='0x02' slot='0x03' function='0x4'/>
</plug> </plug>
... ...

View File

@ -223,7 +223,6 @@ For example, the domain XML snippet
:: ::
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x08' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x08' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -2,7 +2,6 @@
<name>hostdev</name> <name>hostdev</name>
<uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid> <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
<forward mode='hostdev' managed='yes'> <forward mode='hostdev' managed='yes'>
<driver name='vfio'/>
<pf dev='eth2'/> <pf dev='eth2'/>
</forward> </forward>
</network> </network>

View File

@ -2,7 +2,6 @@
<name>hostdev</name> <name>hostdev</name>
<uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid> <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
<forward mode='hostdev' managed='yes'> <forward mode='hostdev' managed='yes'>
<driver name='vfio'/>
<pf dev='eth2'/> <pf dev='eth2'/>
</forward> </forward>
</network> </network>

View File

@ -1,5 +1,4 @@
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x06' slot='0x12' function='0x2'/> <address domain='0x0000' bus='0x06' slot='0x12' function='0x2'/>
</source> </source>

View File

@ -11,7 +11,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -14,7 +14,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -15,7 +15,6 @@
<target dev='vda' bus='virtio'/> <target dev='vda' bus='virtio'/>
</disk> </disk>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -8,7 +8,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -11,7 +11,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -11,7 +11,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-ppc64</emulator> <emulator>/usr/bin/qemu-system-ppc64</emulator>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -14,7 +14,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-ppc64</emulator> <emulator>/usr/bin/qemu-system-ppc64</emulator>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -8,7 +8,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-ppc64</emulator> <emulator>/usr/bin/qemu-system-ppc64</emulator>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -11,7 +11,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-ppc64</emulator> <emulator>/usr/bin/qemu-system-ppc64</emulator>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -502,7 +502,6 @@
<address type='drive' controller='0' bus='0' target='2' unit='4'/> <address type='drive' controller='0' bus='0' target='2' unit='4'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x2'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x2'/>
<origstates> <origstates>

View File

@ -14,26 +14,22 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/> <input type='keyboard' bus='ps2'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/>
</source> </source>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x1'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x1'/>
</source> </source>
<address type='unassigned'/> <address type='unassigned'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x2'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x2'/>
</source> </source>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x3'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x3'/>
</source> </source>

View File

@ -14,43 +14,36 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/> <input type='keyboard' bus='ps2'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/>
</source> </source>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/>
</source> </source>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x2'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x2'/>
</source> </source>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x3'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x3'/>
</source> </source>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x06' slot='0x12' function='0x1'/> <address domain='0x0000' bus='0x06' slot='0x12' function='0x1'/>
</source> </source>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x06' slot='0x12' function='0x2'/> <address domain='0x0000' bus='0x06' slot='0x12' function='0x2'/>
</source> </source>

View File

@ -23,7 +23,6 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0021' bus='222' slot='31' function='1'/> <address domain='0x0021' bus='222' slot='31' function='1'/>
</source> </source>

View File

@ -8,7 +8,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -17,7 +16,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -8,7 +8,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -17,7 +16,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</source> </source>

View File

@ -8,7 +8,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -9,7 +9,6 @@
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0xffff' bus='0x00' slot='0x00' function='0x0'/> <address domain='0xffff' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -18,7 +17,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -8,7 +8,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -9,7 +9,6 @@
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -18,7 +17,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -9,7 +9,6 @@
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -9,7 +9,6 @@
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -18,7 +17,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0002' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0002' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -27,20 +25,17 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0003' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0003' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0004' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0004' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0005' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -49,7 +44,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0006' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0006' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -58,7 +52,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0007' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0007' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -67,7 +60,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0008' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0008' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -9,7 +9,6 @@
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -8,7 +8,6 @@
<devices> <devices>
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<hostdev mode='subsystem' type='pci'> <hostdev mode='subsystem' type='pci'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -21,7 +21,6 @@
</disk> </disk>
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='00' slot='00' function='0'/> <address domain='0x0001' bus='00' slot='00' function='0'/>
</source> </source>

View File

@ -9,7 +9,6 @@
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -25,7 +25,6 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/> <input type='keyboard' bus='ps2'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x06' slot='0x12' function='0x1'/> <address domain='0x0000' bus='0x06' slot='0x12' function='0x1'/>
</source> </source>

View File

@ -24,7 +24,6 @@
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<interface type='hostdev' managed='yes'> <interface type='hostdev' managed='yes'>
<mac address='00:11:22:33:44:55'/> <mac address='00:11:22:33:44:55'/>
<driver name='vfio'/>
<source> <source>
<address type='pci' domain='0x0021' bus='0xde' slot='0x1f' function='0x1'/> <address type='pci' domain='0x0021' bus='0xde' slot='0x1f' function='0x1'/>
</source> </source>

View File

@ -24,7 +24,6 @@
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<interface type='hostdev' managed='yes'> <interface type='hostdev' managed='yes'>
<mac address='00:11:22:33:44:55'/> <mac address='00:11:22:33:44:55'/>
<driver name='vfio'/>
<source> <source>
<address type='pci' domain='0x0000' bus='0x06' slot='0x12' function='0x1'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x12' function='0x1'/>
</source> </source>

View File

@ -11,7 +11,6 @@
<!-- This hostdev will cause a new PHB to be created because its <!-- This hostdev will cause a new PHB to be created because its
isolation group is 1 (IOMMU group 0) --> isolation group is 1 (IOMMU group 0) -->
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>
@ -19,7 +18,6 @@
<!-- This hostdev can't share the PHB that was just created, because <!-- This hostdev can't share the PHB that was just created, because
its isolation group is 2 (IOMMU group 1) --> its isolation group is 2 (IOMMU group 1) -->
<interface type='hostdev' managed='yes'> <interface type='hostdev' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address type='pci' domain='0x0005' bus='0x90' slot='0x01' function='0x0'/> <address type='pci' domain='0x0005' bus='0x90' slot='0x01' function='0x0'/>
</source> </source>
@ -28,7 +26,6 @@
<!-- This hostdev will be placed on the first PHB, since its isolation <!-- This hostdev will be placed on the first PHB, since its isolation
group is 1 (IOMMU group 0) just like the first hostdev --> group is 1 (IOMMU group 0) just like the first hostdev -->
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/>
</source> </source>

View File

@ -17,7 +17,6 @@
despite being in the separate isolation group 1 (IOMMU group 0), despite being in the separate isolation group 1 (IOMMU group 0),
because the address has been requested explicitly by the user --> because the address has been requested explicitly by the user -->
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>
@ -26,7 +25,6 @@
<!-- This hostdev can use neither the PHB that was just created, nor the <!-- This hostdev can use neither the PHB that was just created, nor the
default one, because it's in isolation group 2 (IOMMU group 1) --> default one, because it's in isolation group 2 (IOMMU group 1) -->
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/>
</source> </source>

View File

@ -11,7 +11,6 @@
<!-- This hostdev will cause a new PHB to be created because its isolation <!-- This hostdev will cause a new PHB to be created because its isolation
group is 1 (IOMMU group 0). It will be PHB 2 due to the address --> group is 1 (IOMMU group 0). It will be PHB 2 due to the address -->
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>
@ -20,7 +19,6 @@
<!-- This hostdev will be placed on the same PHB, since its isolation <!-- This hostdev will be placed on the same PHB, since its isolation
group is also 1 (IOMMU group 0) --> group is also 1 (IOMMU group 0) -->
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/>
</source> </source>

View File

@ -28,28 +28,24 @@
<input type='keyboard' bus='ps2'/> <input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x1'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x1'/>
</source> </source>
<address type='unassigned'/> <address type='unassigned'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x2'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x2'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x3'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x3'/>
</source> </source>

View File

@ -28,49 +28,42 @@
<input type='keyboard' bus='ps2'/> <input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x2'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x2'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x3'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x3'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x06' slot='0x12' function='0x1'/> <address domain='0x0000' bus='0x06' slot='0x12' function='0x1'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x06' slot='0x12' function='0x2'/> <address domain='0x0000' bus='0x06' slot='0x12' function='0x2'/>
</source> </source>

View File

@ -0,0 +1,46 @@
<domain type='qemu'>
<name>QEMUGuest2</name>
<uuid>c7a5fdbd-edaf-9466-926a-d65c16db1809</uuid>
<memory unit='KiB'>219100</memory>
<currentMemory unit='KiB'>219100</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<boot dev='hd'/>
</os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu64</model>
</cpu>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='block' device='disk'>
<driver name='qemu' type='raw'/>
<source dev='/dev/HostVG/QEMUGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='ide' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x06' slot='0x12' function='0x1'/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</hostdev>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</memballoon>
</devices>
</domain>

View File

@ -20,7 +20,6 @@
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -29,7 +28,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -20,7 +20,6 @@
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -29,7 +28,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</source> </source>

View File

@ -20,7 +20,6 @@
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -25,7 +25,6 @@
</controller> </controller>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0xffff' bus='0x00' slot='0x00' function='0x0'/> <address domain='0xffff' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -34,7 +33,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -18,7 +18,6 @@
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -20,7 +20,6 @@
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -29,7 +28,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0002' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0002' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -38,7 +36,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0003' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0003' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -47,7 +44,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0004' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0004' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -56,7 +52,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0005' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -65,7 +60,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0006' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0006' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -74,7 +68,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0007' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0007' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>
@ -83,7 +76,6 @@
</address> </address>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0008' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0008' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -20,7 +20,6 @@
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/> <address domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
</source> </source>

View File

@ -34,7 +34,6 @@
<input type='keyboard' bus='ps2'/> <input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0000' bus='0x06' slot='0x12' function='0x1'/> <address domain='0x0000' bus='0x06' slot='0x12' function='0x1'/>
</source> </source>

View File

@ -32,7 +32,6 @@
<controller type='pci' index='0' model='pci-root'/> <controller type='pci' index='0' model='pci-root'/>
<interface type='hostdev' managed='yes'> <interface type='hostdev' managed='yes'>
<mac address='00:11:22:33:44:55'/> <mac address='00:11:22:33:44:55'/>
<driver name='vfio'/>
<source> <source>
<address type='pci' domain='0x0000' bus='0x06' slot='0x12' function='0x1'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x12' function='0x1'/>
</source> </source>

View File

@ -32,7 +32,6 @@
</controller> </controller>
<interface type='hostdev' managed='yes'> <interface type='hostdev' managed='yes'>
<mac address='52:54:00:6d:90:02'/> <mac address='52:54:00:6d:90:02'/>
<driver name='vfio'/>
<source> <source>
<address type='pci' domain='0x0005' bus='0x90' slot='0x01' function='0x0'/> <address type='pci' domain='0x0005' bus='0x90' slot='0x01' function='0x0'/>
</source> </source>
@ -40,14 +39,12 @@
</interface> </interface>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/>
</source> </source>

View File

@ -35,14 +35,12 @@
</controller> </controller>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x02' function='0x0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x02' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/> <address domain='0x0005' bus='0x90' slot='0x01' function='0x0'/>
</source> </source>

View File

@ -32,14 +32,12 @@
</controller> </controller>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
</source> </source>
<address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
</hostdev> </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'> <hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source> <source>
<address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/> <address domain='0x0001' bus='0x01' slot='0x00' function='0x1'/>
</source> </source>