Handle KVM_PPC_ALLOCATE_HTAB ioctl failure
Get series with b4
b4 am [email protected]Versions newest first
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ppc: Let kvmppc_reset_htab() return 0 for !CONFIG_KVMtarget-ppc/ | +1 | 0 replies | |
| 2/2 | spapr: Handle failure of KVM_PPC_ALLOCATE_HTAB ioctlhw/ | +16 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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