Skip to content

Handle KVM_PPC_ALLOCATE_HTAB ioctl failure

Bharata B Rao qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Changes in v1 from the cover letter

------------
- Add a patch to fix !CONFIG_KVM implementation of kvmppc_reset_htab() so that make check passes for ppc64 target on x86 host.
- Explicitly check for shift < 0 error condition in spapr_alloc/reset_htab.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ppc: Let kvmppc_reset_htab() return 0 for !CONFIG_KVMtarget-ppc/kvm_ppc.h+1 -10 replies
2/2spapr: Handle failure of KVM_PPC_ALLOCATE_HTAB ioctlhw/ppc/spapr.c+16 -42 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH v1 0/2] Handle KVM_PPC_ALLOCATE_HTAB ioctl failure

KVM_PPC_ALLOCATE_HTAB ioctl can now return errors and handle that correctly in QEMU.

Also fix !CONFIG_KVM implementation of kvmppc_reset_htab() to return 0 instead of -1.

Changes in v1
------------
- Add a patch to fix !CONFIG_KVM implementation of kvmppc_reset_htab() so that make check passes for ppc64 target on x86 host.
- Explicitly check for shift < 0 error condition in spapr_alloc/reset_htab.

v0: https://lists.gnu.org/archive/html/qemu-ppc/2015-11/msg00012.html

Bharata B Rao (2):
ppc: Let kvmppc_reset_htab() return 0 for !CONFIG_KVM
spapr: Handle failure of KVM_PPC_ALLOCATE_HTAB ioctl

 hw/ppc/spapr.c       | 20 ++++++++++++++++----
 target-ppc/kvm_ppc.h |  2 +-
 2 files changed, 17 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.0