Re: [PATCH] kvm-s390: userspace access to guest storage keys

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

 



On 09.05.2011, at 13:20, Avi Kivity wrote:

> On 05/09/2011 01:11 PM, Alexander Graf wrote:
>> >
>> >  And not in main memory, either?
>> 
>> Nope - storage keys are only accessible using special instructions. They're not in RAM (visible to a guest) :).
>> 
> 
> Interesting, so where are they kept?  An on-chip memory?  That would limit the amount of main memory to that indexed by the chip.  Extra off-chip memory?

I'll leave the answer of this question to the real experts :). All I know is that the ISA defines special instructions to fetch them, so the question on where they are stored is "implementation dependent". In qemu for example, they are kept in an extra array that's just malloc'ed.

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