diff options
author | Anthony PERARD | 2012-06-21 17:36:23 +0200 |
---|---|---|
committer | Stefano Stabellini | 2012-06-21 18:06:10 +0200 |
commit | 679042f0e1eac0af1e03759efe8761e7b4422588 (patch) | |
tree | 04060edbd6e97fad60a0f4b0f99964ceb2a161ae /qemu-common.h | |
parent | pci.c: Add opaque argument to pci_for_each_device. (diff) | |
download | qemu-679042f0e1eac0af1e03759efe8761e7b4422588.tar.gz qemu-679042f0e1eac0af1e03759efe8761e7b4422588.tar.xz qemu-679042f0e1eac0af1e03759efe8761e7b4422588.zip |
qdev-properties: Introduce pci-host-devaddr.
This new property will be used to specify a host pci device address.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r-- | qemu-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h index 8f87e413a7..9d9e603c6e 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -275,6 +275,13 @@ typedef enum LostTickPolicy { LOST_TICK_MAX } LostTickPolicy; +typedef struct PCIHostDeviceAddress { + unsigned int domain; + unsigned int bus; + unsigned int slot; + unsigned int function; +} PCIHostDeviceAddress; + void tcg_exec_init(unsigned long tb_size); bool tcg_enabled(void); |