]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
pc: Move enforce_aligned_dimm to PCMachineClass
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 1 Dec 2015 22:58:06 +0000 (20:58 -0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Dec 2015 15:45:12 +0000 (17:45 +0200)
commit16a9e8a5bcc1fb0796828eb654a4f926734e59af
treeb52fff7076734f50ecfb95e2651c481562d66e25
parentcd4040ec1870f8ec49ec995d89d4862e0b6021b3
pc: Move enforce_aligned_dimm to PCMachineClass

enforce_aligned_dimm never changes after the machine is
initialized, so it can be simply set in PCMachineClass like all
the other compat fields.

Cc: Igor Mammedov <imammedo@redhat.com>
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.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h