diff options
author | Markus Armbruster <armbru@redhat.com> | 2021-07-20 14:54:03 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-08-26 17:15:28 +0200 |
commit | 0d9a6654512a6b7ab18c53fc3f5a6bba8de2dde8 (patch) | |
tree | fad644301eb42bf2083d446b30712ada0b889be0 /hw/i386 | |
parent | 7d6f6933aa73a67e3ab6a70b0f17b9f48620bf13 (diff) | |
download | qemu-0d9a6654512a6b7ab18c53fc3f5a6bba8de2dde8.zip qemu-0d9a6654512a6b7ab18c53fc3f5a6bba8de2dde8.tar.gz qemu-0d9a6654512a6b7ab18c53fc3f5a6bba8de2dde8.tar.bz2 |
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>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/microvm.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/i386/microvm.c b/hw/i386/microvm.c index aba0c83..f257ec5 100644 --- a/hw/i386/microvm.c +++ b/hw/i386/microvm.c @@ -458,15 +458,10 @@ static void microvm_machine_state_init(MachineState *machine) { MicrovmMachineState *mms = MICROVM_MACHINE(machine); X86MachineState *x86ms = X86_MACHINE(machine); - Error *local_err = NULL; microvm_memory_init(mms); x86_cpus_init(x86ms, CPU_VERSION_LATEST); - if (local_err) { - error_report_err(local_err); - exit(1); - } microvm_devices_init(mms); } |