Thread (78 messages) 78 messages, 6 authors, 2010-06-29

Re: [PATCH 09/26] KVM: PPC: Add PV guest scratch registers

From: Avi Kivity <hidden>
Date: 2010-06-27 09:53:16
Also in: kvm

On 06/27/2010 12:41 PM, Alexander Graf wrote:
Am 27.06.2010 um 10:22 schrieb Avi Kivity [off-list ref]:
quoted
On 06/26/2010 02:24 AM, Alexander Graf wrote:
quoted
While running in hooked code we need to store register contents out 
because
we must not clobber any registers.

So let's add some fields to the shared page we can just happily 
write to.
How are these protected during interrupts?
By the 'critical section' bit. When in a critical section (read: using 
scratch registers), we don't issue interrupts.
Ok.  I thought you needed scratch registers to set up the critical 
section, but you don't.  Neat stuff.

-- 
error compiling committee.c: too many arguments to function
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help