Re: [[RFC] KVM-S390: Provide guest TOD Clock Get/Set Controls

2014-10-09 Thread Christian Borntraeger
Am 08.10.2014 16:55, schrieb Alexander Graf: > > > On 08.10.14 16:09, Jason Herne wrote: >> Christian Borntraeger wrote on 09/22/2014 >> 05:08:34 AM: >> ... >>> Actually, I would expect something different (more or less something >>> like standby/resume). >>> >>> In fact Jasons code that we have

Re: [[RFC] KVM-S390: Provide guest TOD Clock Get/Set Controls

2014-10-08 Thread Alexander Graf
On 08.10.14 16:09, Jason Herne wrote: > Christian Borntraeger wrote on 09/22/2014 > 05:08:34 AM: > ... >> Actually, I would expect something different (more or less something >> like standby/resume). >> >> In fact Jasons code that we have internally in testing is doing the >> simple approach >>

Re: [[RFC] KVM-S390: Provide guest TOD Clock Get/Set Controls

2014-10-08 Thread Jason J. Herne
This is a reply to the following thread: http://www.spinics.net/lists/kvm/msg108448.html I'm sending it in this fashion because my normal mail client is not allowing me to send it in plain text and the html is getting rejected by the mailing list. Sorry to those of you who received both this and

Re: [[RFC] KVM-S390: Provide guest TOD Clock Get/Set Controls

2014-09-22 Thread Christian Borntraeger
On 09/19/2014 10:38 PM, Alexander Graf wrote: > > > On 19.09.14 20:51, Christian Borntraeger wrote: >> On 09/19/2014 04:19 PM, Jason J. Herne wrote: >>> From: "Jason J. Herne" >>> >>> Enable KVM_SET_CLOCK and KVM_GET_CLOCK Ioctls on S390 for managing guest TOD >>> clock value. >>> >> >> Just som

Re: [[RFC] KVM-S390: Provide guest TOD Clock Get/Set Controls

2014-09-19 Thread Alexander Graf
On 19.09.14 20:51, Christian Borntraeger wrote: > On 09/19/2014 04:19 PM, Jason J. Herne wrote: >> From: "Jason J. Herne" >> >> Enable KVM_SET_CLOCK and KVM_GET_CLOCK Ioctls on S390 for managing guest TOD >> clock value. >> > > Just some education. On s390 the guest visible TOD clock is thehost

Re: [[RFC] KVM-S390: Provide guest TOD Clock Get/Set Controls

2014-09-19 Thread Christian Borntraeger
On 09/19/2014 04:19 PM, Jason J. Herne wrote: > From: "Jason J. Herne" > > Enable KVM_SET_CLOCK and KVM_GET_CLOCK Ioctls on S390 for managing guest TOD > clock value. > Just some education. On s390 the guest visible TOD clock is thehost TOD clock + hypervisor programmable offset in the control

[[RFC] KVM-S390: Provide guest TOD Clock Get/Set Controls

2014-09-19 Thread Jason J. Herne
From: "Jason J. Herne" Enable KVM_SET_CLOCK and KVM_GET_CLOCK Ioctls on S390 for managing guest TOD clock value. we add the KVM_CLOCK_FORWARD_ONLY flag to indicate to KVM_SET_CLOCK that the given clock value should only be set if it is >= the current guest TOD clock value. This guarantees a mono