aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc-auth-sasl.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-08-18 14:08:24 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-08-18 14:08:24 +0200
commita9197ad2101cfc885cc316af299f49ba89039e54 (patch)
tree379dfb9dbd29fd3dc0b0f736456dccf68531adb1 /ui/vnc-auth-sasl.c
parentc7208a6e0d049f9e8af15df908168a79b1f99685 (diff)
kvm: fix segfault with query-stats-schemas and -M none
-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>
Diffstat (limited to 'ui/vnc-auth-sasl.c')
0 files changed, 0 insertions, 0 deletions