Message ID | 20171205212639.GD20099@flask (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Yes, of course. Thanks! On Tue, Dec 5, 2017 at 1:26 PM, Radim Krčmář <rkrcmar@redhat.com> wrote: > 2017-12-01 10:21-0800, Jim Mattson: >> Since we no longer allow any I/O ports to be passed through to the guest, >> we can use the same page for I/O bitmap A and I/O bitmap B. > > I think we can disable the feature and save the second page as well: > > diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c > index e25c55ea2eb7..80859a7cdf6d 100644 > --- a/arch/x86/kvm/vmx.c > +++ b/arch/x86/kvm/vmx.c > @@ -3624,7 +3624,7 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf) > #endif > CPU_BASED_CR3_LOAD_EXITING | > CPU_BASED_CR3_STORE_EXITING | > - CPU_BASED_USE_IO_BITMAPS | > + CPU_BASED_UNCOND_IO_EXITING | > CPU_BASED_MOV_DR_EXITING | > CPU_BASED_USE_TSC_OFFSETING | > CPU_BASED_INVLPG_EXITING |
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index e25c55ea2eb7..80859a7cdf6d 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -3624,7 +3624,7 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf) #endif CPU_BASED_CR3_LOAD_EXITING | CPU_BASED_CR3_STORE_EXITING | - CPU_BASED_USE_IO_BITMAPS | + CPU_BASED_UNCOND_IO_EXITING | CPU_BASED_MOV_DR_EXITING | CPU_BASED_USE_TSC_OFFSETING | CPU_BASED_INVLPG_EXITING |