]> git.proxmox.com Git - mirror_qemu.git/commit
Move SET_MACHINE_COMPAT macro to boards.h
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 3 Dec 2015 06:34:38 +0000 (17:34 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 11 Jan 2016 04:29:05 +0000 (15:29 +1100)
commit877f8931b99e2377a180fd43a1e5fc2b707e9c52
tree916f01d40fb4ee82035a2546c9d229170aa8ce0b
parent0eb9054c6040f7216be99c23793f001d52765ce9
Move SET_MACHINE_COMPAT macro to boards.h

pc.h defines a SET_MACHINE_COMPAT macro to make setting up compat_props
for the various PC machine versions less verbose.  There's nothing
inherently PC specific about it, though, so move it to boards.h where other
versioned machine types (like pseries-*) can use it.

While we're doing that, change it's indentation to be a bit more regular.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
include/hw/boards.h
include/hw/i386/pc.h