mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
hw/mem/memory-device: Remove legacy_align from memory_device_pre_plug()
'legacy_align' is always NULL, remove it, simplifying memory_device_pre_plug(). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20240617071118.60464-16-philmd@linaro.org>
This commit is contained in:
parent
d4fdb05b0e
commit
0e0bf77d28
5 changed files with 8 additions and 13 deletions
|
@ -169,7 +169,7 @@ uint64_t get_plugged_memory_size(void);
|
|||
unsigned int memory_devices_get_reserved_memslots(void);
|
||||
bool memory_devices_memslot_auto_decision_active(void);
|
||||
void memory_device_pre_plug(MemoryDeviceState *md, MachineState *ms,
|
||||
const uint64_t *legacy_align, Error **errp);
|
||||
Error **errp);
|
||||
void memory_device_plug(MemoryDeviceState *md, MachineState *ms);
|
||||
void memory_device_unplug(MemoryDeviceState *md, MachineState *ms);
|
||||
uint64_t memory_device_get_region_size(const MemoryDeviceState *md,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue