]> git.karo-electronics.de Git - mv-sheeva.git/commit
KVM: PPC: Add PAPR hypercall code for PR mode
authorAlexander Graf <agraf@suse.de>
Mon, 8 Aug 2011 15:21:15 +0000 (17:21 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:24 +0000 (19:52 +0300)
commit0254f0742998dc61fcf68a3488e2d93636031263
tree5217bf195c44418f0365310f9f29b475a67a3b1e
parenta15bd354f083f20f257db450488db52ac27df439
KVM: PPC: Add PAPR hypercall code for PR mode

When running a PAPR guest, we need to handle a few hypercalls in kernel space,
most prominently the page table invalidation (to sync the shadows).

So this patch adds handling for a few PAPR hypercalls to PR mode KVM. I tried
to share the code with HV mode, but it ended up being a lot easier this way
around, as the two differ too much in those details.

Signed-off-by: Alexander Graf <agraf@suse.de>
---

v1 -> v2:

  - whitespace fix
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/kvm/Makefile
arch/powerpc/kvm/book3s_pr_papr.c [new file with mode: 0644]