20.16.6. Host Physical Machine Device Assignment
18.104.22.168. USB / PCI Devices
hostdevelement, by modifying the host physical machine using a management tool the following section of the domain xml file is configured:
... <devices> <hostdev mode='subsystem' type='usb'> <source startupPolicy='optional'> <vendor id='0x1234'/> <product id='0xbeef'/> </source> <boot order='2'/> </hostdev> </devices> ...
Figure 20.28. Devices - host physical machine device assignment
... <devices> <hostdev mode='subsystem' type='pci' managed='yes'> <source> <address bus='0x06' slot='0x02' function='0x0'/> </source> <boot order='1'/> <rom bar='on' file='/etc/fake/boot.bin'/> </hostdev> </devices> ...
Figure 20.29. Devices - host physical machine device assignment alternative
Table 20.13. Host physical machine device assignment elements
|This is the main container for describing host physical machine devices. For USB device passthrough |
|Describes the device as seen from the host physical machine. The USB device can either be addressed by vendor / product id using the |
|These elements each have an |
|Specifies that the device is bootable. The attribute's order determines the order in which devices will be tried during boot sequence. The per-device boot elements cannot be used together with general boot elements in BIOS boot loader section.|
|Used to change how a PCI device's ROM is presented to the guest virtual machine. The optional |
|Also has a |