mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-06 03:58:59 +00:00
![Paolo Bonzini](/assets/img/avatar_default.png)
-M none creates a guest without a vCPU, causing the following error: $ ./qemu-system-x86_64 -qmp stdio -M none -accel kvm {execute:qmp_capabilities} {"return": {}} {execute: query-stats-schemas} Segmentation fault (core dumped) Fix it by not querying the vCPU stats if first_cpu is NULL. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>