All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4][RFC] kvmppc: paravirtualization interface - guest part v2
@ 2008-08-19 10:36 ` ehrhardt
  0 siblings, 0 replies; 56+ messages in thread
From: ehrhardt @ 2008-08-19 10:36 UTC (permalink / raw)
  To: linuxppc-dev, kvm-ppc; +Cc: hollisb

From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>

This patch series implements a paravirtualization interface using:
- the device tree mechanism to pass hypervisor informations to the guest
- hypercalls for guest->host calls
- an example exploiter of that interface (magic page)

Version 2 includes changes to the feedback of my last submission and is now
tested against the implemented and working host part. The host part discussion
can be found on kvm-ppc@vger.kernel.org.

The used hypercall ABI was already discussed on the embedded-hypervisor mailing
list and is available at http://kvm.qumranet.com/kvmwiki/PowerPC_Hypercall_ABI

The device tree format used here (ºse for the discussions on
embedded-hypervisor) is the following.
- A node "hypervisor" to show the general availability of some hypervisor data
- flags for features like the example "feature,pv-magicpage"
  setting 1 = available, everything else = unavailable
- Some features might need to pass more data and can use an entry in the
  device tree like the example of "data,pv-magicpage-size"

I hope that eventually this guest patch series (that is modifying the boot
process and adding e.g. new ppc fixmaps could go upstream (when discussed
and agreed somewhen) via linuxppc-dev, while the kvm host part will go via
kvm (Avi Kivity).

[patches in series]
[PATCH 1/4] kvmppc: read device tree hypervisor node infrastructure
[PATCH 2/4] kvmppc: add hypercall infrastructure - guest part
[PATCH 3/4] kvmppc: magic page paravirtualization - guest part
[PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest optimization

---
[diffstat]
 arch/powerpc/kernel/kvm.c            |   51 ++++++++++++++++++++++++++++++
 b/arch/powerpc/kernel/Makefile       |    2 +
 b/arch/powerpc/kernel/kvm.c          |   30 +++++++++++++++++
 b/arch/powerpc/kernel/setup_32.c     |    3 +
 b/arch/powerpc/platforms/44x/Kconfig |    7 ++++
 b/include/asm-powerpc/fixmap.h       |   10 +++++
 b/include/asm-powerpc/hw_irq.h       |   12 +++++++
 b/include/asm-powerpc/kvm_para.h     |   43 +++++++++++++++++++++++--
 b/mm/page_alloc.c                    |    1
 include/asm-powerpc/kvm_para.h       |   59 +++++++++++++++++++++++++++++++++++
 10 files changed, 214 insertions(+), 4 deletions(-)

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

end of thread, other threads:[~2008-08-22 15:49 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-19 10:36 [PATCH 0/4][RFC] kvmppc: paravirtualization interface - guest part v2 ehrhardt
2008-08-19 10:36 ` ehrhardt
2008-08-19 10:36 ` [PATCH 1/4] kvmppc: read device tree hypervisor node infrastructure ehrhardt
2008-08-19 10:36   ` ehrhardt
2008-08-19 11:52   ` [PATCH 1/4] kvmppc: read device tree hypervisor node Josh Boyer
2008-08-19 11:52     ` [PATCH 1/4] kvmppc: read device tree hypervisor node infrastructure Josh Boyer
2008-08-19 11:56     ` [PATCH 1/4] kvmppc: read device tree hypervisor node Josh Boyer
2008-08-19 11:56       ` [PATCH 1/4] kvmppc: read device tree hypervisor node infrastructure Josh Boyer
2008-08-19 10:36 ` [PATCH 2/4] kvmppc: add hypercall infrastructure - guest part ehrhardt
2008-08-19 10:36   ` ehrhardt
2008-08-19 11:28   ` Arnd Bergmann
2008-08-19 11:28     ` Arnd Bergmann
2008-08-20 12:41     ` Christian Ehrhardt
2008-08-20 12:41       ` Christian Ehrhardt
2008-08-21 22:25     ` Hollis Blanchard
2008-08-21 22:25       ` Hollis Blanchard
2008-08-22 10:38   ` Kumar Gala
2008-08-22 10:38     ` Kumar Gala
2008-08-22 14:00     ` Hollis Blanchard
2008-08-22 14:00       ` Hollis Blanchard
2008-08-19 10:36 ` [PATCH 3/4] kvmppc: magic page paravirtualization " ehrhardt
2008-08-19 10:36   ` ehrhardt
2008-08-20  2:29   ` Tony Breeds
2008-08-20  2:29     ` Tony Breeds
2008-08-19 10:36 ` [PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest optimization ehrhardt
2008-08-19 10:36   ` ehrhardt
2008-08-19 11:42   ` Arnd Bergmann
2008-08-19 11:42     ` Arnd Bergmann
2008-08-20 12:53     ` Christian Ehrhardt
2008-08-20 12:53       ` Christian Ehrhardt
2008-08-20 18:30       ` [PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest Hollis Blanchard
2008-08-20 18:30         ` [PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest optimization Hollis Blanchard
2008-08-20 18:52         ` [PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest Josh Boyer
2008-08-20 18:52           ` [PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest optimization Josh Boyer
2008-08-20 19:06           ` [PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest Hollis Blanchard
2008-08-20 19:06             ` [PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest optimization Hollis Blanchard
2008-08-20 19:18             ` [PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest Josh Boyer
2008-08-20 19:18               ` [PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest optimization Josh Boyer
2008-08-21 13:31               ` Christian Ehrhardt
2008-08-21 13:31                 ` Christian Ehrhardt
2008-08-21 13:41   ` Kumar Gala
2008-08-21 13:41     ` Kumar Gala
2008-08-21 14:13     ` Christian Ehrhardt
2008-08-21 14:13       ` Christian Ehrhardt
2008-08-21 14:21       ` Kumar Gala
2008-08-21 14:21         ` Kumar Gala
2008-08-21 16:16         ` Scott Wood
2008-08-21 16:16           ` Scott Wood
2008-08-22  8:08           ` Christian Ehrhardt
2008-08-22  8:08             ` Christian Ehrhardt
2008-08-22  8:17             ` Kumar Gala
2008-08-22  8:17               ` Kumar Gala
2008-08-22 13:56               ` Jimi Xenidis
2008-08-22 13:56                 ` Jimi Xenidis
2008-08-22 15:49                 ` Scott Wood
2008-08-22 15:49                   ` Scott Wood

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.