All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-ppc-devel] [PATCH 0 of 3] RFC: creating a particular vcpu type
@ 2008-02-05  5:34 ` Hollis Blanchard
  0 siblings, 0 replies; 28+ messages in thread
From: Hollis Blanchard @ 2008-02-05  5:34 UTC (permalink / raw)
  To: Avi Kivity
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

These patches allow PowerPC to create vcpus of a particular type. Since we are
actually emulating the core's supervisor mode, we can choose to emulate any
type of core. However, since the core chosen will change the size of the vcpu
structure (among other things), we need to know it at vcpu creation time,
rather than after the fact (which is how x86's cpuid is handled).

I've included the first example of how PowerPC will be using the new
capability, and this will be significantly extended in the future. I think you
get the idea...

I still need to update my tree and patch IA64 to match, but is this approach
acceptable?

6 files changed, 99 insertions(+), 11 deletions(-)
arch/powerpc/kvm/powerpc.c     |   80 ++++++++++++++++++++++++++++++++++++++--
arch/x86/kvm/x86.c             |    4 +-
include/asm-powerpc/kvm_host.h |    5 ++
include/linux/kvm.h            |    8 ++++
include/linux/kvm_host.h       |    4 +-
virt/kvm/kvm_main.c            |    9 ++--

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

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

end of thread, other threads:[~2008-02-11  8:23 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-05  5:34 [kvm-ppc-devel] [PATCH 0 of 3] RFC: creating a particular vcpu type Hollis Blanchard
2008-02-05  5:34 ` Hollis Blanchard
2008-02-05  5:34 ` [kvm-ppc-devel] [PATCH 1 of 3] Pass an opaque parameter Hollis Blanchard
2008-02-05  5:34   ` [PATCH 1 of 3] Pass an opaque parameter through kvm_vm_ioctl_vcpu_create() to kvm_arch_vcpu_create() Hollis Blanchard
2008-02-05  5:34 ` [kvm-ppc-devel] [PATCH 2 of 3] Export kvm_vm_ioctl_create_vcpu() to Hollis Blanchard
2008-02-05  5:34   ` [PATCH 2 of 3] Export kvm_vm_ioctl_create_vcpu() to be called from architecture modules Hollis Blanchard
2008-02-05  5:34 ` [kvm-ppc-devel] [PATCH 3 of 3] [POWERPC] Implement an ioctl that Hollis Blanchard
2008-02-05  5:34   ` [PATCH 3 of 3] [POWERPC] Implement an ioctl that creates a vcpu of a particular type Hollis Blanchard
2008-02-05 12:52   ` [kvm-ppc-devel] [kvm-devel] [PATCH 3 of 3] [POWERPC] Implement Christian Ehrhardt
2008-02-05 12:52     ` [PATCH 3 of 3] [POWERPC] Implement an ioctl that creates a vcpu of a particular type Christian Ehrhardt
     [not found]     ` <47A85C09.5070609-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-02-05 13:41       ` [kvm-ppc-devel] [kvm-devel] [PATCH 3 of 3] [POWERPC] Implement Carsten Otte
2008-02-05 13:41         ` [PATCH 3 of 3] [POWERPC] Implement an ioctl that creates a vcpu of a particular type Carsten Otte
     [not found]         ` <47A86794.4020408-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2008-02-05 14:03           ` [kvm-ppc-devel] [kvm-devel] [PATCH 3 of 3] [POWERPC] Implement Carsten Otte
2008-02-05 14:03             ` [PATCH 3 of 3] [POWERPC] Implement an ioctl that creates a vcpu of a particular type Carsten Otte
2008-02-05 15:13       ` [kvm-ppc-devel] [kvm-devel] [PATCH 3 of 3] [POWERPC] Implement Hollis Blanchard
2008-02-05 15:13         ` [PATCH 3 of 3] [POWERPC] Implement an ioctl that creates a vcpu of a particular type Hollis Blanchard
2008-02-05 16:44 ` [kvm-ppc-devel] [kvm-devel] [PATCH 0 of 3] RFC: creating a Anthony Liguori
2008-02-05 16:44   ` [PATCH 0 of 3] RFC: creating a particular vcpu type Anthony Liguori
     [not found]   ` <47A89285.40802-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-02-05 17:53     ` [kvm-ppc-devel] [kvm-devel] [PATCH 0 of 3] RFC: creating a Hollis Blanchard
2008-02-05 17:53       ` [PATCH 0 of 3] RFC: creating a particular vcpu type Hollis Blanchard
2008-02-05 18:05       ` [kvm-ppc-devel] [kvm-devel] [PATCH 0 of 3] RFC: creating a Anthony Liguori
2008-02-05 18:05         ` [PATCH 0 of 3] RFC: creating a particular vcpu type Anthony Liguori
     [not found]         ` <47A8A582.5060502-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-02-05 19:23           ` [kvm-ppc-devel] [kvm-devel] [PATCH 0 of 3] RFC: creating a Hollis Blanchard
2008-02-05 19:23             ` [PATCH 0 of 3] RFC: creating a particular vcpu type Hollis Blanchard
2008-02-05 19:32             ` [kvm-ppc-devel] [kvm-devel] [PATCH 0 of 3] RFC: creating a Anthony Liguori
2008-02-05 19:32               ` [PATCH 0 of 3] RFC: creating a particular vcpu type Anthony Liguori
2008-02-11  8:23               ` [kvm-ppc-devel] [kvm-devel] [PATCH 0 of 3] RFC: creating a Avi Kivity
2008-02-11  8:23                 ` [PATCH 0 of 3] RFC: creating a particular vcpu type Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.