diff mbox

[v2,3/3] add stub HW_COMPAT_2_8 to PC_COMPAT_2_8

Message ID 1474273955-73083-4-git-send-email-imammedo@redhat.com
State New
Headers show

Commit Message

Igor Mammedov Sept. 19, 2016, 8:32 a.m. UTC
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
 include/hw/compat.h  | 2 ++
 include/hw/i386/pc.h | 1 +
 2 files changed, 3 insertions(+)
diff mbox

Patch

diff --git a/include/hw/compat.h b/include/hw/compat.h
index a1d6694..ddbb2c4 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -1,6 +1,8 @@ 
 #ifndef HW_COMPAT_H
 #define HW_COMPAT_H
 
+#define HW_COMPAT_2_8 \
+
 #define HW_COMPAT_2_7 \
     {\
         .driver   = "virtio-pci",\
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 29a6c9b..012dc2c 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -367,6 +367,7 @@  int e820_get_num_entries(void);
 bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
 
 #define PC_COMPAT_2_8 \
+    HW_COMPAT_2_8
 
 #define PC_COMPAT_2_7 \
     HW_COMPAT_2_7 \