vdev pci-dummy

Provide a read-only, inactive PCI device.

Synopsis:

vdev pci-dummy options

Options:

clone host_pci_dev
Use the specified PCI device as a template for the virtual device, and copy the values of the named registers from the host into what the guest will see.
reg offset/size=value

Set a specific configuration space register. For example:

vdev pci-dummy reg 0/4=0xFFFF

sets the configuration space register at offset 0 and size 4 (bytes) to 0xFFFF.

Permitted sizes are 1, 2, 4 and 8 bytes.

reg name=value
Equivalent to the reg offset/size option above, but uses one of the known names (e.g., Vendor_ID). The size is implied by the name, so you don't have to specify it.

For a list of options available to all vdevs, see Common vdev options at the beginning of this chapter.

Description:

x86 only. The pci-dummy vdev provides a read-only, inactive PCI device. Such a device may be needed to expose a specific pair of PCI identifiers to help the guest identify a hardware platform.

The following registers are considered: Vendor_ID, Device_ID, Revision_ID, Class_Code[0], Class_Code[1], Class_Code[2], Header_Type, Sub_Vendor_ID, Sub_System_ID.