Re: [PATCH 4/4] kvm-s390: onereg for timer related registers

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

 



On 05.06.2012, at 14:57, Christian Borntraeger wrote:

> On 05/06/12 14:42, Alexander Graf wrote:
>> 
>> On 15.05.2012, at 14:15, Christian Borntraeger wrote:
>> 
>>> From: "Jason J. herne" <jjherne@xxxxxxxxxx>
>>> 
>>> Enhance the KVM ONE_REG capability within S390 to allow
>>> getting/setting the following special cpu registers: clock comparator
>>> and the cpu timer. These are needed for migration.
>>> 
>>> Signed-off-by: Jason J. herne <jjherne@xxxxxxxxxx>
>>> Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
>> 
>> Any other registers we need to expose to user space while we're at it? :)
> 
> I hope not. Life guest relocation prototyping indicates that we have at least
> the subset that allows a linux guest to continue.
> 
> We might need a way for userspace to influence the output of the store
> system information and store facility list instruction. Dont know, maybe
> we could use ONEREG even for that purpose. Its on my todo list, but there
> are too many other things to tidy up.

Hrm - not sure if ONEREG is the right interface here. These 2 instructions are more similar to CPUID in that they can have multiple leafs with lots of data each. But then again, which parts exactly would user space care about?

> Since this would be interface/ABI I dont want to rush without really
> understanding what I need for those instruction.

Yup, very good decision :). I was really more thinking of other SIE fields that look obvious.


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