Skip to main content

EXTRA_DEVICE_ADDR_BASE

Constant EXTRA_DEVICE_ADDR_BASE 

Source
pub const EXTRA_DEVICE_ADDR_BASE: usize = 16;
Expand description

First PCI device number (addr=) used for extra-device root ports.

QEMU’s built-in devices use low device numbers. We start at 16 (0x10) to avoid collisions. The root port for the i-th extra device has devfn = (EXTRA_DEVICE_ADDR_BASE + i) << 3.