Skip to content

kvm: Improve register failure reports for migration

Julia Suvorova qemu-devel 2 versions – Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

* made all reports as error_reportf_err() and fixed prefixes [Peter]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2kvm: Allow kvm_arch_get/put_registers to accept Error**accel/kvm/kvm-all.c include/sysemu/kvm.h target/arm/kvm.c +6 more+47 -240 replies
2/2target/i386/kvm: Report which action failed in kvm_arch_put/get_registerstarget/i386/kvm/kvm.c+23 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter Xu
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] kvm: Improve register failure reports for migration

There were a few bugs with silent cpu failures during migrations [1]. The failures are no longer silent thanks to [2], but still indistinguishable, making diagnostics difficult.

This patchset reworks kvm_arch_get/put_registers to handle Error** and return a correct message, with x86_64 as a start.

[1] https://issues.redhat.com/browse/RHEL-7558
[2] 7191f24c7fcf "accel/kvm/kvm-all: Handle register access errors"

--
v2:
* made all reports as error_reportf_err() and fixed prefixes [Peter]

Julia Suvorova (2):
kvm: Allow kvm_arch_get/put_registers to accept Error** target/i386/kvm: Report which action failed in
kvm_arch_put/get_registers

 accel/kvm/kvm-all.c        | 41 +++++++++++++++++++++++++++++---------
 include/sysemu/kvm.h       |  4 ++--
 target/arm/kvm.c           |  4 ++--
 target/i386/kvm/kvm.c      | 27 +++++++++++++++++++++++--
 target/loongarch/kvm/kvm.c |  4 ++--
 target/mips/kvm.c          |  4 ++--
 target/ppc/kvm.c           |  2 +-
 target/riscv/kvm/kvm-cpu.c |  4 ++--
 target/s390x/kvm/kvm.c     |  4 ++--
 9 files changed, 70 insertions(+), 24 deletions(-)
Signature · 1 line
2.45.0