]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: Propagate guest PCIDs to host PCIDs
authorJunaid Shahid <junaids@google.com>
Wed, 27 Jun 2018 21:59:13 +0000 (14:59 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Aug 2018 15:58:56 +0000 (17:58 +0200)
commitde22c7504a70e7a06c818ef308dd355709ade6b2
tree482d62fb205c50c77ddfe5603f2a6abcd2dc5e8b
parentac7d15b637cc176be7647b8e34dd0bad1d5162dd
kvm: x86: Propagate guest PCIDs to host PCIDs

When using shadow paging mode, propagate the guest's PCID value to
the shadow CR3 in the host instead of always using PCID 0.

Signed-off-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.h