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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 27.06.2010 um 10:22 schrieb Avi Kivity <avi@xxxxxxxxxx>:

On 06/26/2010 02:24 AM, Alexander Graf wrote:
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.

Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux