public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/12] Get rid of kernel memory allocation
@ 2008-09-08 19:30 Glauber Costa
  2008-09-08 19:30 ` [PATCH] start removing kernel memory functions Glauber Costa
                   ` (14 more replies)
  0 siblings, 15 replies; 33+ messages in thread
From: Glauber Costa @ 2008-09-08 19:30 UTC (permalink / raw)
  To: kvm; +Cc: avi, aliguori

Hey guys,

Some eons before the dinosaurs went extinct, we used to support
a method of memory allocation different than the one advertised by
KVM_CAP_USER_MEMORY.

This series of patches attempt on removing the support for it in kvm-userspace
entirely. It will make the job of integrating kvm and qemu much easier. As
a matter of fact, platforms other than x86 (and ia64, because it seems to
borrow a great deal of code from x86) don't even support that method. 

I remind you that for those who still want to run userspaces old enough for Hypervisors
that lack user memory capability, you always have the option of running an
old enough userspace, so to match. 

This patch series leaves one test for this capability in place, at machine
initialization: KVM will refuse to run if it's not in there. Later on,
if we deprecate the capability altogether from the kernel, we may do it through
an ABI check. But for now, I think this is enough.

series stat:

Glauber Costa (12):
      start removing kernel memory functions
      remove tests of user memory from vl.c
      coalesce memory allocation
      remove KVM_CAP_USER_MEMORY reference from qemu-kvm.c
      remove KVM_CAP_USER_MEMORY from libkvm.c.
      remove create_kernel_phys_mem
      get rid of kvm_create_userspace_phys_mem
      remove user_alloc field from slot representation
      merge destroy phys mem functions
      rename kvm_register_userspace_phys_mem
      remove kernel memory code from hw/pc.c
      remove kernel memory allocation code from ipf.c

 libkvm/kvm-common.h     |    8 +--
 libkvm/libkvm-ia64.c    |   31 ----------
 libkvm/libkvm-powerpc.c |   21 -------
 libkvm/libkvm-s390.c    |   21 -------
 libkvm/libkvm-x86.c     |  124 ----------------------------------------
 libkvm/libkvm.c         |  146 ++++++++++++++---------------------------------
 libkvm/libkvm.h         |    2 +-
 qemu/hw/ipf.c           |   25 ++-------
 qemu/hw/pc.c            |   19 +------
 qemu/qemu-kvm.c         |   52 +++++++----------
 qemu/vl.c               |   26 ++------
 11 files changed, 79 insertions(+), 396 deletions(-)


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

end of thread, other threads:[~2008-09-11  9:01 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 19:30 [PATCH 0/12] Get rid of kernel memory allocation Glauber Costa
2008-09-08 19:30 ` [PATCH] start removing kernel memory functions Glauber Costa
2008-09-08 19:30   ` [PATCH] remove tests of user memory from vl.c Glauber Costa
2008-09-08 19:30     ` [PATCH] coalesce memory allocation Glauber Costa
2008-09-08 19:30       ` [PATCH] remove KVM_CAP_USER_MEMORY reference from qemu-kvm.c Glauber Costa
2008-09-08 19:30         ` [PATCH] remove KVM_CAP_USER_MEMORY from libkvm.c Glauber Costa
2008-09-08 19:30           ` [PATCH] remove create_kernel_phys_mem Glauber Costa
2008-09-08 19:30             ` [PATCH] get rid of kvm_create_userspace_phys_mem Glauber Costa
2008-09-08 19:30               ` [PATCH] remove user_alloc field from slot representation Glauber Costa
2008-09-08 19:30                 ` [PATCH] merge destroy phys mem functions Glauber Costa
2008-09-08 19:30                   ` [PATCH] rename kvm_register_userspace_phys_mem Glauber Costa
2008-09-08 19:30                     ` [PATCH] remove kernel memory code from hw/pc.c Glauber Costa
2008-09-08 19:30                       ` [PATCH] remove kernel memory allocation code from ipf.c Glauber Costa
2008-09-10 19:23         ` [PATCH] remove KVM_CAP_USER_MEMORY reference from qemu-kvm.c Jan Kiszka
2008-09-10 19:37           ` Glauber Costa
2008-09-10 19:59             ` Jan Kiszka
2008-09-09 14:25 ` [PATCH 0/12] Get rid of kernel memory allocation Avi Kivity
2008-09-09 14:57   ` Glauber Costa
2008-09-09 15:01     ` Avi Kivity
2008-09-10 19:20 ` [PATCH 0/12] get rid of kernel memory registration Glauber Costa
2008-09-11  8:59   ` Avi Kivity
2008-09-10 19:20 ` [PATCH 01/12] start removing kernel memory functions Glauber Costa
2008-09-10 19:20 ` [PATCH 02/12] remove tests of user memory from vl.c Glauber Costa
2008-09-10 19:20 ` [PATCH 03/12] coalesce memory allocation Glauber Costa
2008-09-10 19:20 ` [PATCH 04/12] remove KVM_CAP_USER_MEMORY reference from qemu-kvm.c Glauber Costa
2008-09-10 19:20 ` [PATCH 05/12] remove KVM_CAP_USER_MEMORY from libkvm.c Glauber Costa
2008-09-10 19:21 ` [PATCH 06/12] remove create_kernel_phys_mem Glauber Costa
2008-09-10 19:21 ` [PATCH 07/12] get rid of kvm_create_userspace_phys_mem Glauber Costa
2008-09-10 19:21 ` [PATCH 08/12] remove user_alloc field from slot representation Glauber Costa
2008-09-10 19:21 ` [PATCH 09/12] merge destroy phys mem functions Glauber Costa
2008-09-10 19:21 ` [PATCH 10/12] rename kvm_register_userspace_phys_mem Glauber Costa
2008-09-10 19:21 ` [PATCH 11/12] remove kernel memory code from hw/pc.c Glauber Costa
2008-09-10 19:21 ` [PATCH 12/12] remove kernel memory allocation code from ipf.c Glauber Costa

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