aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2012-06-21 15:36:23 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-06-21 16:06:10 +0000
commit679042f0e1eac0af1e03759efe8761e7b4422588 (patch)
tree04060edbd6e97fad60a0f4b0f99964ceb2a161ae /qemu-common.h
parent7aa8cbb9211a7c93d37b79502915df5757d2fb17 (diff)
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.h7
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);