aboutsummaryrefslogtreecommitdiff
path: root/include/hw/i386
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2014-07-30 09:02:00 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-08-14 13:20:49 +0200
commitf9f218730c30c4d7f325f2ee44498271f80a1d20 (patch)
treec054579f0745cffcc841c1953e8f959f3212f916 /include/hw/i386
parentcc943c36faa192cd4b32af8fe5edb31894017d35 (diff)
downloadqemu-f9f218730c30c4d7f325f2ee44498271f80a1d20.zip
qemu-f9f218730c30c4d7f325f2ee44498271f80a1d20.tar.gz
qemu-f9f218730c30c4d7f325f2ee44498271f80a1d20.tar.bz2
pc: Create 2.2 machine type
Yet identical to 2.1. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/i386')
-rw-r--r--include/hw/i386/pc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 863eefb..dc3058b 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -300,7 +300,10 @@ int e820_add_entry(uint64_t, uint64_t, uint32_t);
int e820_get_num_entries(void);
bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
+#define PC_COMPAT_2_1
+
#define PC_COMPAT_2_0 \
+ PC_COMPAT_2_1, \
{\
.driver = "virtio-scsi-pci",\
.property = "any_layout",\