Re: [PATCH 26/26] KVM: PPC: Add Documentation about PV interface

2010-06-28 Thread Avi Kivity
On 06/28/2010 11:21 AM, Alexander Graf wrote: The other alternative I'd see is to reuse an instruction that is not sc. We could for example pull the mfpvr trick again, but pass a different magic value in the register this time that tells the hypervisor "this is a hypercall". Or we could reser

Re: [PATCH 26/26] KVM: PPC: Add Documentation about PV interface

2010-06-28 Thread Alexander Graf
On 28.06.2010, at 10:13, Avi Kivity wrote: > On 06/28/2010 10:49 AM, Alexander Graf wrote: >> >>> I don't believe we support the kernel actually doing a syscall to itself >>> anymore, at least on powerpc. The callers call the underlying system >>> call function, or kernel_thread. >>> >>> That

Re: [PATCH 26/26] KVM: PPC: Add Documentation about PV interface

2010-06-28 Thread Avi Kivity
On 06/28/2010 10:49 AM, Alexander Graf wrote: I don't believe we support the kernel actually doing a syscall to itself anymore, at least on powerpc. The callers call the underlying system call function, or kernel_thread. That said, I would suggest we allocate a syscall number for this, as it

Re: [PATCH 26/26] KVM: PPC: Add Documentation about PV interface

2010-06-28 Thread Alexander Graf
On 28.06.2010, at 09:18, Milton Miller wrote: > On Sun Jun 27 around 19:33:52 EST 2010 Alexander Graf wrote: >> Am 27.06.2010 um 10:14 schrieb Avi Kivity : >>> On 06/26/2010 02:25 AM, Alexander Graf wrote: > + +PPC hypercalls +== + +The only viable ways to re

Re: [PATCH 26/26] KVM: PPC: Add Documentation about PV interface

2010-06-28 Thread Milton Miller
On Sun Jun 27 around 19:33:52 EST 2010 Alexander Graf wrote: > Am 27.06.2010 um 10:14 schrieb Avi Kivity : > > On 06/26/2010 02:25 AM, Alexander Graf wrote: > > > + > > > +PPC hypercalls > > > +== > > > + > > > +The only viable ways to reliably get from guest context to host > > > co

Re: [PATCH 26/26] KVM: PPC: Add Documentation about PV interface

2010-06-27 Thread Alexander Graf
Am 27.06.2010 um 10:34 schrieb Avi Kivity : On 06/26/2010 02:25 AM, Alexander Graf wrote: We just introduced a new PV interface that screams for documentation. So here it is - a shiny new and awesome text file describing the internal works of the PPC KVM paravirtual interface. +Querying

Re: [PATCH 26/26] KVM: PPC: Add Documentation about PV interface

2010-06-27 Thread Alexander Graf
Am 27.06.2010 um 10:14 schrieb Avi Kivity : On 06/26/2010 02:25 AM, Alexander Graf wrote: We just introduced a new PV interface that screams for documentation. So here it is - a shiny new and awesome text file describing the internal works of the PPC KVM paravirtual interface. Good, tha

Re: [PATCH 26/26] KVM: PPC: Add Documentation about PV interface

2010-06-27 Thread Avi Kivity
On 06/26/2010 02:25 AM, Alexander Graf wrote: We just introduced a new PV interface that screams for documentation. So here it is - a shiny new and awesome text file describing the internal works of the PPC KVM paravirtual interface. +Querying for existence +== + +To find ou

Re: [PATCH 26/26] KVM: PPC: Add Documentation about PV interface

2010-06-27 Thread Avi Kivity
On 06/26/2010 02:25 AM, Alexander Graf wrote: We just introduced a new PV interface that screams for documentation. So here it is - a shiny new and awesome text file describing the internal works of the PPC KVM paravirtual interface. Good, that lets people who have no idea what they're talk

[PATCH 26/26] KVM: PPC: Add Documentation about PV interface

2010-06-25 Thread Alexander Graf
We just introduced a new PV interface that screams for documentation. So here it is - a shiny new and awesome text file describing the internal works of the PPC KVM paravirtual interface. Signed-off-by: Alexander Graf --- Documentation/kvm/ppc-pv.txt | 164 ++