mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-23 10:01:59 -06:00
microvm: Drop dead error handling in microvm_machine_state_init()
Stillborn in commit 0ebf007dda
"hw/i386: Introduce the microvm machine
type".
Cc: Sergio Lopez <slp@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210720125408.387910-12-armbru@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
7d6f6933aa
commit
0d9a665451
1 changed files with 0 additions and 5 deletions
|
@ -458,15 +458,10 @@ static void microvm_machine_state_init(MachineState *machine)
|
||||||
{
|
{
|
||||||
MicrovmMachineState *mms = MICROVM_MACHINE(machine);
|
MicrovmMachineState *mms = MICROVM_MACHINE(machine);
|
||||||
X86MachineState *x86ms = X86_MACHINE(machine);
|
X86MachineState *x86ms = X86_MACHINE(machine);
|
||||||
Error *local_err = NULL;
|
|
||||||
|
|
||||||
microvm_memory_init(mms);
|
microvm_memory_init(mms);
|
||||||
|
|
||||||
x86_cpus_init(x86ms, CPU_VERSION_LATEST);
|
x86_cpus_init(x86ms, CPU_VERSION_LATEST);
|
||||||
if (local_err) {
|
|
||||||
error_report_err(local_err);
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
microvm_devices_init(mms);
|
microvm_devices_init(mms);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue