diff options
| author | David Hildenbrand | 2018-04-23 18:51:23 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2018-05-07 15:00:02 +0200 |
| commit | e017da370b3e87a3041b66092de2eb2318d28a6b (patch) | |
| tree | ef279b677c67514ea6dd176245f45d3543542d77 /include | |
| parent | pc-dimm: move actual plug/unplug of a memory region to MemoryDevice (diff) | |
| download | qemu-e017da370b3e87a3041b66092de2eb2318d28a6b.tar.gz qemu-e017da370b3e87a3041b66092de2eb2318d28a6b.tar.xz qemu-e017da370b3e87a3041b66092de2eb2318d28a6b.zip | |
machine: rename MemoryHotplugState to DeviceMemoryState
Rename it to better match the new terminology.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180423165126.15441-9-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/boards.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index e27c28b514..ef7457f5dd 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -214,15 +214,15 @@ struct MachineClass { }; /** - * MemoryHotplugState: + * DeviceMemoryState: * @base: address in guest physical address space where the memory * address space for memory devices starts * @mr: address space container for memory devices */ -typedef struct MemoryHotplugState { +typedef struct DeviceMemoryState { hwaddr base; MemoryRegion mr; -} MemoryHotplugState; +} DeviceMemoryState; /** * MachineState: @@ -254,7 +254,7 @@ struct MachineState { bool enforce_config_section; bool enable_graphics; char *memory_encryption; - MemoryHotplugState *device_memory; + DeviceMemoryState *device_memory; ram_addr_t ram_size; ram_addr_t maxram_size; |
