summaryrefslogtreecommitdiffstats
path: root/qapi/qapi-util.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov2022-08-18 17:01:12 +0200
committerPaolo Bonzini2022-09-01 07:42:37 +0200
commit3cafdb67504a34a0305260f0c86a73d5a3fb000b (patch)
treeccc9f4f48badc13c375c071f6cfc6e719afb7b08 /qapi/qapi-util.c
parentscsi: Reject commands if the CDB length exceeds buf_len (diff)
downloadqemu-3cafdb67504a34a0305260f0c86a73d5a3fb000b.tar.gz
qemu-3cafdb67504a34a0305260f0c86a73d5a3fb000b.tar.xz
qemu-3cafdb67504a34a0305260f0c86a73d5a3fb000b.zip
i386: reset KVM nested state upon CPU reset
Make sure env->nested_state is cleaned up when a vCPU is reset, it may be stale after an incoming migration, kvm_arch_put_registers() may end up failing or putting vCPU in a weird state. Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Message-Id: <20220818150113.479917-2-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi/qapi-util.c')
0 files changed, 0 insertions, 0 deletions