All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v1 0/2] Handle KVM_PPC_ALLOCATE_HTAB ioctl failure
@ 2015-11-10  5:24 Bharata B Rao
  2015-11-10  5:24 ` [Qemu-devel] [PATCH v1 1/2] ppc: Let kvmppc_reset_htab() return 0 for !CONFIG_KVM Bharata B Rao
  2015-11-10  5:24 ` [Qemu-devel] [PATCH v1 2/2] spapr: Handle failure of KVM_PPC_ALLOCATE_HTAB ioctl Bharata B Rao
  0 siblings, 2 replies; 5+ messages in thread
From: Bharata B Rao @ 2015-11-10  5:24 UTC (permalink / raw)
  To: qemu-devel; +Cc: Bharata B Rao, qemu-ppc, mdroth, david

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-11  0:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-10  5:24 [Qemu-devel] [PATCH v1 0/2] Handle KVM_PPC_ALLOCATE_HTAB ioctl failure Bharata B Rao
2015-11-10  5:24 ` [Qemu-devel] [PATCH v1 1/2] ppc: Let kvmppc_reset_htab() return 0 for !CONFIG_KVM Bharata B Rao
2015-11-10  5:24 ` [Qemu-devel] [PATCH v1 2/2] spapr: Handle failure of KVM_PPC_ALLOCATE_HTAB ioctl Bharata B Rao
2015-11-10 14:38   ` Michael Roth
2015-11-11  0:07     ` David Gibson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.