aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/arch_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/arch_init.h')
-rw-r--r--include/sysemu/arch_init.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h
index 54f069d491..16da279696 100644
--- a/include/sysemu/arch_init.h
+++ b/include/sysemu/arch_init.h
@@ -35,4 +35,13 @@ extern const uint32_t arch_type;
int kvm_available(void);
int xen_available(void);
+/* default virtio transport per architecture */
+#define QEMU_ARCH_VIRTIO_PCI (QEMU_ARCH_ALPHA | QEMU_ARCH_ARM | \
+ QEMU_ARCH_HPPA | QEMU_ARCH_I386 | \
+ QEMU_ARCH_MIPS | QEMU_ARCH_PPC | \
+ QEMU_ARCH_RISCV | QEMU_ARCH_SH4 | \
+ QEMU_ARCH_SPARC | QEMU_ARCH_XTENSA)
+#define QEMU_ARCH_VIRTIO_CCW (QEMU_ARCH_S390X)
+#define QEMU_ARCH_VIRTIO_MMIO (QEMU_ARCH_M68K)
+
#endif