public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] PPC: KVM: fix RESUME_GUEST checks
@ 2014-02-06 16:36 Greg Kurz
  2014-02-06 16:36 ` [PATCH 1/4] PPC: KVM: introduce helper to check RESUME_GUEST and related Greg Kurz
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Greg Kurz @ 2014-02-06 16:36 UTC (permalink / raw)
  To: kvm, kvm-ppc; +Cc: aik, paulus, agraf, mst

As discussed in this thread:

http://patchwork.ozlabs.org/patch/309166/

We need some consistency in the way we check whether the guest
should resume or not because:
- new RESUME_GUEST_XXX values may show up
- more locations in KVM may need to perform a similar check

This serie introduces a helper and patches the locations where it
should be called. There is yet another location in __kvmppc_vcpu_run,
but it is assembly and cannot call a C inlined function.

---

Alexey Kardashevskiy (1):
      PPC: KVM: fix VCPU run for HV KVM (v2)

Greg Kurz (3):
      PPC: KVM: introduce helper to check RESUME_GUEST and related
      PPC: KVM: fix RESUME_GUEST check before ending CEDE in kvmppc_run_core()
      PPC: KVM: fix RESUME_GUEST check before returning from kvmppc_run_core()


 arch/powerpc/include/asm/kvm_book3s.h |    5 +++++
 arch/powerpc/kvm/book3s_hv.c          |    6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

-- 
Greg Kurz

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

end of thread, other threads:[~2014-02-07  8:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-06 16:36 [PATCH 0/4] PPC: KVM: fix RESUME_GUEST checks Greg Kurz
2014-02-06 16:36 ` [PATCH 1/4] PPC: KVM: introduce helper to check RESUME_GUEST and related Greg Kurz
2014-02-06 16:37 ` [PATCH 2/4] PPC: KVM: fix VCPU run for HV KVM (v2) Greg Kurz
2014-02-06 16:37 ` [PATCH 3/4] PPC: KVM: fix RESUME_GUEST check before ending CEDE in kvmppc_run_core() Greg Kurz
2014-02-06 16:37 ` [PATCH 4/4] PPC: KVM: fix RESUME_GUEST check before returning from kvmppc_run_core() Greg Kurz
2014-02-06 17:39 ` [PATCH 0/4] PPC: KVM: fix RESUME_GUEST checks Alexander Graf
2014-02-07  0:04   ` Alexey Kardashevskiy
2014-02-07  1:29     ` Alexey Kardashevskiy
2014-02-07  8:14   ` Greg Kurz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox