diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-12-12 19:36:30 +0400 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-01-07 16:18:41 +0400 |
| commit | ddb3235de10a9a480b7a83a2ecee2ca9040ba845 (patch) | |
| tree | 8115cf8da1bdf28bf7838adbba594eea16053b6f /include/hw/boards.h | |
| parent | abd93cc7df8521d463c24b2106fdde4f40a3fdd5 (diff) | |
| download | focaccia-qemu-ddb3235de10a9a480b7a83a2ecee2ca9040ba845.tar.gz focaccia-qemu-ddb3235de10a9a480b7a83a2ecee2ca9040ba845.zip | |
compat: replace PC_COMPAT_3_0 & HW_COMPAT_3_0 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/boards.h')
| -rw-r--r-- | include/hw/boards.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index b9a5c2d087..aaa57f1f6b 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -291,4 +291,7 @@ struct MachineState { extern GlobalProperty hw_compat_3_1[]; extern const size_t hw_compat_3_1_len; +extern GlobalProperty hw_compat_3_0[]; +extern const size_t hw_compat_3_0_len; + #endif |