public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFC] KVM: Plan obsolescence of kernel allocated slots, paravirt mmu
@ 2010-01-26 14:34 Avi Kivity
  2010-01-27 17:23 ` Marcelo Tosatti
  0 siblings, 1 reply; 3+ messages in thread
From: Avi Kivity @ 2010-01-26 14:34 UTC (permalink / raw)
  To: kvm

These features are unused by modern userspace and can go away.  Paravirt
mmu needs to stay a little longer for live migration.

Signed-off-by: Avi Kivity <avi@redhat.com>
---
 Documentation/feature-removal-schedule.txt |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 870d190..88ca110 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -493,3 +493,26 @@ Why:	These two features use non-standard interfaces. There are the
 Who:	Corentin Chary <corentin.chary@gmail.com>
 
 ----------------------------
+What:	KVM memory aliases support
+When:	July 2010
+Why:	Memory aliasing support is used for speeding up guest vga access
+	through the vga windows.
+
+	Modern userspace no longer uses this feature, so it's just bitrotted
+	code and can be removed with no impact.
+Who:	Avi Kivity <avi@redhat.com>
+----------------------------
+What:	KVM kernel-allocated memory slots
+When:	July 2010
+Why:	Since 2.6.25, kvm supports user-allocated memory slots, which are
+	much more flexible than kernel-allocated slots.  All current userspace
+	supports the newer interface and this code can be removed with no
+	impact.
+Who:	Avi Kivity <avi@redhat.com>
+----------------------------
+What:	KVM paravirt mmu host support
+When:	January 2011
+Why:	The paravirt mmu host support is slower than non-paravirt mmu, both
+	on newer and older hardware.  It is already not exposed to the guest,
+	and kept only for live migration purposes.
+Who:	Avi Kivity <avi@redhat.com>
-- 
1.6.5.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH/RFC] KVM: Plan obsolescence of kernel allocated slots, paravirt mmu
  2010-01-26 14:34 [PATCH/RFC] KVM: Plan obsolescence of kernel allocated slots, paravirt mmu Avi Kivity
@ 2010-01-27 17:23 ` Marcelo Tosatti
  2010-02-11 10:24   ` Avi Kivity
  0 siblings, 1 reply; 3+ messages in thread
From: Marcelo Tosatti @ 2010-01-27 17:23 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

On Tue, Jan 26, 2010 at 04:34:34PM +0200, Avi Kivity wrote:
> These features are unused by modern userspace and can go away.  Paravirt
> mmu needs to stay a little longer for live migration.
> 
> Signed-off-by: Avi Kivity <avi@redhat.com>
> ---
>  Documentation/feature-removal-schedule.txt |   23 +++++++++++++++++++++++
>  1 files changed, 23 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
> index 870d190..88ca110 100644
> --- a/Documentation/feature-removal-schedule.txt
> +++ b/Documentation/feature-removal-schedule.txt
> @@ -493,3 +493,26 @@ Why:	These two features use non-standard interfaces. There are the
>  Who:	Corentin Chary <corentin.chary@gmail.com>
>  
>  ----------------------------
> +What:	KVM memory aliases support
> +When:	July 2010
> +Why:	Memory aliasing support is used for speeding up guest vga access
> +	through the vga windows.
> +
> +	Modern userspace no longer uses this feature, so it's just bitrotted
> +	code and can be removed with no impact.
> +Who:	Avi Kivity <avi@redhat.com>
> +----------------------------
> +What:	KVM kernel-allocated memory slots
> +When:	July 2010
> +Why:	Since 2.6.25, kvm supports user-allocated memory slots, which are
> +	much more flexible than kernel-allocated slots.  All current userspace
> +	supports the newer interface and this code can be removed with no
> +	impact.

Just a note: can block userspace usage but can't really remove code
since there are in-kernel users (special purpose vmx pages).

Otherwise looks good to me.

> +Who:	Avi Kivity <avi@redhat.com>
> +----------------------------
> +What:	KVM paravirt mmu host support
> +When:	January 2011
> +Why:	The paravirt mmu host support is slower than non-paravirt mmu, both
> +	on newer and older hardware.  It is already not exposed to the guest,
> +	and kept only for live migration purposes.
> +Who:	Avi Kivity <avi@redhat.com>
> -- 
> 1.6.5.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH/RFC] KVM: Plan obsolescence of kernel allocated slots, paravirt mmu
  2010-01-27 17:23 ` Marcelo Tosatti
@ 2010-02-11 10:24   ` Avi Kivity
  0 siblings, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2010-02-11 10:24 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: kvm

On 01/27/2010 07:23 PM, Marcelo Tosatti wrote:
>
>>   ----------------------------
>> +What:	KVM memory aliases support
>> +When:	July 2010
>> +Why:	Memory aliasing support is used for speeding up guest vga access
>> +	through the vga windows.
>> +
>> +	Modern userspace no longer uses this feature, so it's just bitrotted
>> +	code and can be removed with no impact.
>> +Who:	Avi Kivity<avi@redhat.com>
>> +----------------------------
>> +What:	KVM kernel-allocated memory slots
>> +When:	July 2010
>> +Why:	Since 2.6.25, kvm supports user-allocated memory slots, which are
>> +	much more flexible than kernel-allocated slots.  All current userspace
>> +	supports the newer interface and this code can be removed with no
>> +	impact.
>>      
> Just a note: can block userspace usage but can't really remove code
> since there are in-kernel users (special purpose vmx pages).
>
>    

Hm, we can add a new ioctl to ask userspace for a gpa range, but require 
it to allocate the memory.

> Otherwise looks good to me.
>    

Okay - applying.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-11 10:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-26 14:34 [PATCH/RFC] KVM: Plan obsolescence of kernel allocated slots, paravirt mmu Avi Kivity
2010-01-27 17:23 ` Marcelo Tosatti
2010-02-11 10:24   ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox