[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 0/2] Handle KVM_PPC_ALLOCATE_HTAB ioctl failure
From: |
Bharata B Rao |
Subject: |
[Qemu-devel] [PATCH v1 0/2] Handle KVM_PPC_ALLOCATE_HTAB ioctl failure |
Date: |
Tue, 10 Nov 2015 10:54:52 +0530 |
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(-)
--
2.1.0
- [Qemu-devel] [PATCH v1 0/2] Handle KVM_PPC_ALLOCATE_HTAB ioctl failure,
Bharata B Rao <=