OSDN Git Service

vl: catch [accel] entry without accelerator
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Jan 2023 10:35:40 +0000 (11:35 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Feb 2023 13:12:06 +0000 (14:12 +0100)
commit78901b5047a2c27858f6c3e780ab3f2af5463631
treef3c45824d8c7b87eb3972ce3f107703ec4fb9927
parent5080152e2ef6cde7aa692e29880c62bd54acb750
vl: catch [accel] entry without accelerator

Avoid a SIGSEGV and return an error instead.

Reported-by: Thomas Huth <thuth@redhat.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1439
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu/vl.c