Re: [PATCH v2] KVM: VMX: drop I/O permission bitmaps

2017-12-12 Thread David Hildenbrand
> /* > - * Merging of IO bitmap not currently supported. > - * Rather, exit every time. > + * A vmexit (to either L1 hypervisor or L0 userspace) is always needed > + * for I/O port accesses. >*/ > exec_control &= ~CPU_BASED_USE_IO_BITMAPS; >

Re: [PATCH v2] KVM: VMX: drop I/O permission bitmaps

2017-12-12 Thread David Hildenbrand
> /* > - * Merging of IO bitmap not currently supported. > - * Rather, exit every time. > + * A vmexit (to either L1 hypervisor or L0 userspace) is always needed > + * for I/O port accesses. >*/ > exec_control &= ~CPU_BASED_USE_IO_BITMAPS; >

Re: [PATCH v2] KVM: VMX: drop I/O permission bitmaps

2017-12-12 Thread Paolo Bonzini
On 12/12/2017 09:44, Quan Xu wrote: > From: Quan Xu > > Since KVM removes the only I/O port 0x80 bypass on Intel hosts, > clear CPU_BASED_USE_IO_BITMAPS and set CPU_BASED_UNCOND_IO_EXITING > bit. Then these I/O permission bitmaps are not used at all, so > drop I/O permission

Re: [PATCH v2] KVM: VMX: drop I/O permission bitmaps

2017-12-12 Thread Paolo Bonzini
On 12/12/2017 09:44, Quan Xu wrote: > From: Quan Xu > > Since KVM removes the only I/O port 0x80 bypass on Intel hosts, > clear CPU_BASED_USE_IO_BITMAPS and set CPU_BASED_UNCOND_IO_EXITING > bit. Then these I/O permission bitmaps are not used at all, so > drop I/O permission bitmaps. > >

[PATCH v2] KVM: VMX: drop I/O permission bitmaps

2017-12-12 Thread Quan Xu
From: Quan Xu Since KVM removes the only I/O port 0x80 bypass on Intel hosts, clear CPU_BASED_USE_IO_BITMAPS and set CPU_BASED_UNCOND_IO_EXITING bit. Then these I/O permission bitmaps are not used at all, so drop I/O permission bitmaps. Signed-off-by: Jim Mattson

[PATCH v2] KVM: VMX: drop I/O permission bitmaps

2017-12-12 Thread Quan Xu
From: Quan Xu Since KVM removes the only I/O port 0x80 bypass on Intel hosts, clear CPU_BASED_USE_IO_BITMAPS and set CPU_BASED_UNCOND_IO_EXITING bit. Then these I/O permission bitmaps are not used at all, so drop I/O permission bitmaps. Signed-off-by: Jim Mattson Signed-off-by: Radim Krčmář