diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-12-01 20:58:07 -0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-12-22 17:45:12 +0200 |
commit | cdedce0564a50a01d3121480e67b5b141c8e0c54 (patch) | |
tree | 6155a0dc3e13e431409393957f32b9a415706639 /hw | |
parent | 16a9e8a5bcc1fb0796828eb654a4f926734e59af (diff) |
pc: Remove enforce-aligned-dimm QOM property
The property is read-only and not used for anything.
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/i386/pc.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 5d8f7479bb..00b59cdae0 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1865,13 +1865,6 @@ static void pc_machine_set_smm(Object *obj, Visitor *v, void *opaque, visit_type_OnOffAuto(v, &pcms->smm, name, errp); } -static bool pc_machine_get_aligned_dimm(Object *obj, Error **errp) -{ - PCMachineClass *pcmc = PC_MACHINE_GET_CLASS(obj); - - return pcmc->enforce_aligned_dimm; -} - static void pc_machine_initfn(Object *obj) { PCMachineState *pcms = PC_MACHINE(obj); @@ -1906,10 +1899,6 @@ static void pc_machine_initfn(Object *obj) object_property_set_description(obj, PC_MACHINE_VMPORT, "Enable vmport (pc & q35)", &error_abort); - - object_property_add_bool(obj, PC_MACHINE_ENFORCE_ALIGNED_DIMM, - pc_machine_get_aligned_dimm, - NULL, &error_abort); } static void pc_machine_reset(void) |