summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-07-03 06:04:22 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-03 18:16:33 +0200
commitfa71e9527f6a0153ae6a880031b902818af1bdaf (patch)
tree41059135afa859a2f92ab935e7fbdb1de81682ba /arch/s390
parentKVM: x86: Mark CR4.TSD as being possibly owned by the guest (diff)
downloadlinux-fa71e9527f6a0153ae6a880031b902818af1bdaf.tar.xz
linux-fa71e9527f6a0153ae6a880031b902818af1bdaf.zip
KVM: VMX: Use KVM_POSSIBLE_CR*_GUEST_BITS to initialize guest/host masks
Use the "common" KVM_POSSIBLE_CR*_GUEST_BITS defines to initialize the CR0/CR4 guest host masks instead of duplicating most of the CR4 mask and open coding the CR0 mask. SVM doesn't utilize the masks, i.e. the masks are effectively VMX specific even if they're not named as such. This avoids duplicate code, better documents the guest owned CR0 bit, and eliminates the need for a build-time assertion to keep VMX and x86 synchronized. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200703040422.31536-3-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions