]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc_piix.c
pc: reduce duplication in compat machine types
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 26 Mar 2012 09:26:16 +0000 (11:26 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Apr 2012 10:19:32 +0000 (13:19 +0300)
commitd6c730086cbf24382eb8cff25551798769edfd84
tree429910e816c2937ac10f0d41852a8e49a3463889
parentd50c6c8b0fc28c2dd91f3f7ab2a0bbb56419214b
pc: reduce duplication in compat machine types

Make it easier to add compat properties, by
adding macros for properties duplicated across
machine types.

Note: there could be bugs in compat properties,
this patch does not attempt to address them,
the code is bug for bug identical to the original.

Tested by: generated a preprocessed file, sorted and
compared to sorted original.
Lightly tested on x86_64.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pc_piix.c