]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitc9470a2e28479e97eb44d926ea7bbb5709ad9d6b
tree482d62fb205c50c77ddfe5603f2a6abcd2dc5e8b
parentafe828d1de4047d26eb0cd0c0154f5ac3722bf63
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