Re: [Qemu-devel] [PATCH 03/26] Add a hook to allow hypercalls to be emulated on PowerPC

2011-03-17 Thread Alexander Graf
On 18.03.2011, at 05:03, David Gibson wrote: > On Thu, Mar 17, 2011 at 08:20:52AM -0500, Anthony Liguori wrote: >> On 03/16/2011 11:55 PM, David Gibson wrote: >>> On Wed, Mar 16, 2011 at 03:44:49PM -0500, Anthony Liguori wrote: On 03/15/2011 11:56 PM, David Gibson wrote: > [snip] Is th

Re: [Qemu-devel] [PATCH 03/26] Add a hook to allow hypercalls to be emulated on PowerPC

2011-03-17 Thread David Gibson
On Thu, Mar 17, 2011 at 08:20:52AM -0500, Anthony Liguori wrote: > On 03/16/2011 11:55 PM, David Gibson wrote: > >On Wed, Mar 16, 2011 at 03:44:49PM -0500, Anthony Liguori wrote: > >>On 03/15/2011 11:56 PM, David Gibson wrote: [snip] > >>Is the hypercall handler ever specific to a CPU? > >If you me

Re: [Qemu-devel] [PATCH 03/26] Add a hook to allow hypercalls to be emulated on PowerPC

2011-03-17 Thread Anthony Liguori
On 03/16/2011 11:55 PM, David Gibson wrote: On Wed, Mar 16, 2011 at 03:44:49PM -0500, Anthony Liguori wrote: On 03/15/2011 11:56 PM, David Gibson wrote: From: David Gibson PowerPC and POWER chips since the POWER4 and 970 have a special hypervisor mode, and a corresponding form of the system ca

Re: [Qemu-devel] [PATCH 03/26] Add a hook to allow hypercalls to be emulated on PowerPC

2011-03-16 Thread David Gibson
On Wed, Mar 16, 2011 at 03:44:49PM -0500, Anthony Liguori wrote: > On 03/15/2011 11:56 PM, David Gibson wrote: > >From: David Gibson > > > >PowerPC and POWER chips since the POWER4 and 970 have a special > >hypervisor mode, and a corresponding form of the system call > >instruction which traps to t

Re: [Qemu-devel] [PATCH 03/26] Add a hook to allow hypercalls to be emulated on PowerPC

2011-03-16 Thread Anthony Liguori
On 03/15/2011 11:56 PM, David Gibson wrote: From: David Gibson PowerPC and POWER chips since the POWER4 and 970 have a special hypervisor mode, and a corresponding form of the system call instruction which traps to the hypervisor. qemu currently has stub implementations of hypervisor mode. Tha

[Qemu-devel] [PATCH 03/26] Add a hook to allow hypercalls to be emulated on PowerPC

2011-03-15 Thread David Gibson
From: David Gibson PowerPC and POWER chips since the POWER4 and 970 have a special hypervisor mode, and a corresponding form of the system call instruction which traps to the hypervisor. qemu currently has stub implementations of hypervisor mode. That is, the outline is there to allow qemu to r