diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2017-05-10 13:29:58 +0200 |
|---|---|---|
| committer | Eduardo Habkost <ehabkost@redhat.com> | 2017-05-11 16:08:50 -0300 |
| commit | 482dfe9a9e8fe72d6a96c927e23078808f9cacd2 (patch) | |
| tree | a3cafb39db5b33da0e0669c62a84db83510dee10 /include/hw/boards.h | |
| parent | 3b8a8557f781c4216744d9ab69bee43b526b0c64 (diff) | |
| download | focaccia-qemu-482dfe9a9e8fe72d6a96c927e23078808f9cacd2.tar.gz focaccia-qemu-482dfe9a9e8fe72d6a96c927e23078808f9cacd2.zip | |
machine: call machine init from wrapper
add machine_run_board_init() wrapper that calls machine init for now but in follow up patches it will be used to run generic machine code that should run before machine init. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1494415802-227633-15-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw/boards.h')
| -rw-r--r-- | include/hw/boards.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index 4e14ff060e..76ce0219ff 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -32,6 +32,7 @@ void memory_region_allocate_system_memory(MemoryRegion *mr, Object *owner, MachineClass *find_default_machine(void); extern MachineState *current_machine; +void machine_run_board_init(MachineState *machine); bool machine_usb(MachineState *machine); bool machine_kernel_irqchip_allowed(MachineState *machine); bool machine_kernel_irqchip_required(MachineState *machine); |