|
@@ -52,6 +52,15 @@ typedef struct QDevAlias
|
|
uint32_t arch_mask;
|
|
uint32_t arch_mask;
|
|
} QDevAlias;
|
|
} QDevAlias;
|
|
|
|
|
|
|
|
+/* 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)
|
|
|
|
+
|
|
/* Please keep this table sorted by typename. */
|
|
/* Please keep this table sorted by typename. */
|
|
static const QDevAlias qdev_alias_table[] = {
|
|
static const QDevAlias qdev_alias_table[] = {
|
|
{ "AC97", "ac97" }, /* -soundhw name */
|
|
{ "AC97", "ac97" }, /* -soundhw name */
|