]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Add one-reg interface to virtual PTCR register
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 8 Oct 2018 05:31:13 +0000 (16:31 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 9 Oct 2018 05:04:27 +0000 (16:04 +1100)
commit20498df62df3a162b1001122fb25c4d6de22ce5e
tree2e1fd56b937b7cbaad8023ee78f8c37c8b9cf585
parent57e6175bfe3887c001b195b6d71cbe7abdd927f6
KVM: PPC: Book3S HV: Add one-reg interface to virtual PTCR register

This adds a one-reg register identifier which can be used to read and
set the virtual PTCR for the guest.  This register identifies the
address and size of the virtual partition table for the guest, which
contains information about the nested guests under this guest.

Migrating this value is the only extra requirement for migrating a
guest which has nested guests (assuming of course that the destination
host supports nested virtualization in the kvm-hv module).

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Documentation/virtual/kvm/api.txt
arch/powerpc/include/uapi/asm/kvm.h
arch/powerpc/kvm/book3s_hv.c