Re: [PATCH] kvm/vmx: EPTP switching test

2015-11-17 Thread Paolo Bonzini
On 17/11/2015 11:44, Wang, Wei W wrote: > On 17/11/2015 18:18, Paolo Bonzini wrote: >> On 17/11/2015 02:45, Zhang, Yang Z wrote: >>> We have a different version in hand which is using separate >>> EPTP. >> >> Can you say in advance what you are using EPTP switching for? >> Offlist if necessary.

RE: [PATCH] kvm/vmx: EPTP switching test

2015-11-17 Thread Wang, Wei W
On 17/11/2015 18:18, Paolo Bonzini wrote: > On 17/11/2015 02:45, Zhang, Yang Z wrote: > > We have a different version in hand which is using separate EPTP. > > Can you say in advance what you are using EPTP switching for? Offlist if > necessary. Hi Paolo, We are using EPTP switching for a prot

Re: [PATCH] kvm/vmx: EPTP switching test

2015-11-17 Thread Paolo Bonzini
On 17/11/2015 02:45, Zhang, Yang Z wrote: > We have a different version in hand which is using separate EPTP. Can you say in advance what you are using EPTP switching for? Offlist if necessary. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to

Re: [PATCH] kvm/vmx: EPTP switching test

2015-11-17 Thread Paolo Bonzini
On 16/11/2015 19:18, =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= wrote: >> > No idea how would I even test it, so I'm not interested in #VE at this >> > point. If you are - go ahead and post a patch for that on top though, >> > why not. > I thought that it's going to be simpler to provide function

RE: [PATCH] kvm/vmx: EPTP switching test

2015-11-16 Thread Zhang, Yang Z
Michael S. Tsirkin wrote on 2015-11-16: > This patch adds a new parameter: eptp_switching_test, which enables > testing EPT switching on VMX if supported by hardware. All EPT > entries are initialized to the same value so this adds no useful > functionality by itself, but can be used to test VMFUN

Re: [PATCH] kvm/vmx: EPTP switching test

2015-11-16 Thread Andy Lutomirski
On Mon, Nov 16, 2015 at 10:18 AM, =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= wrote: > 2015-11-16 19:59+0200, Michael S. Tsirkin: >> On Mon, Nov 16, 2015 at 06:51:06PM +0100, >> =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= wrote: >>> 2015-11-15 18:00+0200, Michael S. Tsirkin: >>> (And I think that ept

Re: [PATCH] kvm/vmx: EPTP switching test

2015-11-16 Thread =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?=
2015-11-16 19:59+0200, Michael S. Tsirkin: > On Mon, Nov 16, 2015 at 06:51:06PM +0100, > =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= wrote: >> 2015-11-15 18:00+0200, Michael S. Tsirkin: >> (And I think that eptp switching is expected to be used in conjuction >> with #VE, so it'd then make sense to

Re: [PATCH] kvm/vmx: EPTP switching test

2015-11-16 Thread Michael S. Tsirkin
On Mon, Nov 16, 2015 at 06:51:06PM +0100, =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= wrote: > 2015-11-15 18:00+0200, Michael S. Tsirkin: > > This patch adds a new parameter: eptp_switching_test, which enables > > > > testing EPT switching on VMX if supported by hardware. All EPT entries > > are i

Re: [PATCH] kvm/vmx: EPTP switching test

2015-11-16 Thread =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?=
2015-11-15 18:00+0200, Michael S. Tsirkin: > This patch adds a new parameter: eptp_switching_test, which enables > > testing EPT switching on VMX if supported by hardware. All EPT entries > are initialized to the same value so this adds no useful functionality > by itself, but can be used to test

[PATCH] kvm/vmx: EPTP switching test

2015-11-15 Thread Michael S. Tsirkin
This patch adds a new parameter: eptp_switching_test, which enables testing EPT switching on VMX if supported by hardware. All EPT entries are initialized to the same value so this adds no useful functionality by itself, but can be used to test VMFUNC performance, and serve as a basis for future f