]> git.ipfire.org Git - thirdparty/qemu.git/commit
kvm: Allow kvm_arch_get/put_registers to accept Error**
authorJulia Suvorova <jusual@redhat.com>
Fri, 27 Sep 2024 10:47:40 +0000 (12:47 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 3 Oct 2024 20:04:19 +0000 (22:04 +0200)
commita1676bb3047f28b292ecbce3a378ccc0b4721d47
tree92fdef6ec8d546dd67cac4917a56b96281d1e0b5
parent28ed7f9761eb273e7dedcfdc0507d158106d0451
kvm: Allow kvm_arch_get/put_registers to accept Error**

This is necessary to provide discernible error messages to the caller.

Signed-off-by: Julia Suvorova <jusual@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/20240927104743.218468-2-jusual@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
include/sysemu/kvm.h
target/arm/kvm.c
target/i386/kvm/kvm.c
target/loongarch/kvm/kvm.c
target/mips/kvm.c
target/ppc/kvm.c
target/riscv/kvm/kvm-cpu.c
target/s390x/kvm/kvm.c