]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/i386/pc.h
pc: Define PC_COMPAT_2_[123] macros
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 14 May 2015 18:53:03 +0000 (15:53 -0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 31 May 2015 14:26:41 +0000 (16:26 +0200)
commit42134ac9d74799cf2f70257798b72a2988b75d31
tree8e376fac52d12124945c378dabc5532c24b40300
parent1edbde82b809f80b973978886d8232fbf280cb03
pc: Define PC_COMPAT_2_[123] macros

Once we start adding compat code for pc-2.3, the usage of HW_COMPAT_2_1
in pc-*-2.2 won't be enough, as it also has to include PC_COMPAT_2_3
inside it. To ensure that, define PC_COMPAT_2_3, PC_COMPAT_2_2, and
PC_COMPAT_2_1 macros.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h