summaryrefslogtreecommitdiffstats
path: root/include/hw/compat.h
diff options
context:
space:
mode:
authorMarc-André Lureau2018-12-12 16:36:30 +0100
committerMarc-André Lureau2019-01-07 13:18:41 +0100
commitabd93cc7df8521d463c24b2106fdde4f40a3fdd5 (patch)
treee9f567fcd4a8cfc23a30fef148d4f5c6b3667a7e /include/hw/compat.h
parenthw: remove SET_MACHINE_COMPAT (diff)
downloadqemu-abd93cc7df8521d463c24b2106fdde4f40a3fdd5.tar.gz
qemu-abd93cc7df8521d463c24b2106fdde4f40a3fdd5.tar.xz
qemu-abd93cc7df8521d463c24b2106fdde4f40a3fdd5.zip
compat: replace PC_COMPAT_3_1 & HW_COMPAT_3_1 macros
Use static arrays instead. Suggested-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw/compat.h')
-rw-r--r--include/hw/compat.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h
index 3ca85b037c..6f4d5fc647 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -1,17 +1,6 @@
#ifndef HW_COMPAT_H
#define HW_COMPAT_H
-#define HW_COMPAT_3_1 \
- {\
- .driver = "pcie-root-port",\
- .property = "x-speed",\
- .value = "2_5",\
- },{\
- .driver = "pcie-root-port",\
- .property = "x-width",\
- .value = "1",\
- },
-
#define HW_COMPAT_3_0 \
/* empty */