Re: [PATCH RFC untested] kvm/x86: implement hv EOI assist

2014-04-23 Thread Marcelo Tosatti
On Wed, Apr 23, 2014 at 08:52:03AM +0300, Michael S. Tsirkin wrote: HV-APIC-ASSIST MSR is in the list of saved MSRs ... Restoration of MSR_KVM_PV_EOI_EN is required for migration under when PVEOI enabled ? That's what I don't get. Since after this patch, set of

Re: [PATCH RFC untested] kvm/x86: implement hv EOI assist

2014-04-22 Thread Michael S. Tsirkin
On Mon, Apr 21, 2014 at 06:40:17PM -0300, Marcelo Tosatti wrote: On Sun, Apr 13, 2014 at 04:10:22PM +0300, Michael S. Tsirkin wrote: It seems that it's easy to implement the EOI assist on top of the PV EOI feature: simply convert the page address to the format expected by PV EOI.

Re: [PATCH RFC untested] kvm/x86: implement hv EOI assist

2014-04-22 Thread Marcelo Tosatti
On Tue, Apr 22, 2014 at 12:11:47PM +0300, Michael S. Tsirkin wrote: On Mon, Apr 21, 2014 at 06:40:17PM -0300, Marcelo Tosatti wrote: On Sun, Apr 13, 2014 at 04:10:22PM +0300, Michael S. Tsirkin wrote: It seems that it's easy to implement the EOI assist on top of the PV EOI feature: simply

Re: [PATCH RFC untested] kvm/x86: implement hv EOI assist

2014-04-22 Thread Michael S. Tsirkin
On Tue, Apr 22, 2014 at 04:26:48PM -0300, Marcelo Tosatti wrote: On Tue, Apr 22, 2014 at 12:11:47PM +0300, Michael S. Tsirkin wrote: On Mon, Apr 21, 2014 at 06:40:17PM -0300, Marcelo Tosatti wrote: On Sun, Apr 13, 2014 at 04:10:22PM +0300, Michael S. Tsirkin wrote: It seems that it's

Re: [PATCH RFC untested] kvm/x86: implement hv EOI assist

2014-04-22 Thread Marcelo Tosatti
On Wed, Apr 23, 2014 at 01:12:49AM +0300, Michael S. Tsirkin wrote: On Tue, Apr 22, 2014 at 04:26:48PM -0300, Marcelo Tosatti wrote: On Tue, Apr 22, 2014 at 12:11:47PM +0300, Michael S. Tsirkin wrote: On Mon, Apr 21, 2014 at 06:40:17PM -0300, Marcelo Tosatti wrote: On Sun, Apr 13, 2014

Re: [PATCH RFC untested] kvm/x86: implement hv EOI assist

2014-04-22 Thread Michael S. Tsirkin
On Tue, Apr 22, 2014 at 10:57:48PM -0300, Marcelo Tosatti wrote: On Wed, Apr 23, 2014 at 01:12:49AM +0300, Michael S. Tsirkin wrote: On Tue, Apr 22, 2014 at 04:26:48PM -0300, Marcelo Tosatti wrote: On Tue, Apr 22, 2014 at 12:11:47PM +0300, Michael S. Tsirkin wrote: On Mon, Apr 21, 2014

Re: [PATCH RFC untested] kvm/x86: implement hv EOI assist

2014-04-21 Thread Marcelo Tosatti
On Sun, Apr 13, 2014 at 04:10:22PM +0300, Michael S. Tsirkin wrote: It seems that it's easy to implement the EOI assist on top of the PV EOI feature: simply convert the page address to the format expected by PV EOI. Signed-off-by: Michael S. Tsirkin m...@redhat.com Looks alright except: -

[PATCH RFC untested] kvm/x86: implement hv EOI assist

2014-04-13 Thread Michael S. Tsirkin
It seems that it's easy to implement the EOI assist on top of the PV EOI feature: simply convert the page address to the format expected by PV EOI. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- Warning: untested! As I'll be off-line for a couple of days, sending this out for early