[libvirt] [PATCH v2 4/5] qemuDomainResumeFlags: Introduce VIR_DOMAIN_RESUME_SYNC_TIME

Peter Krempa pkrempa at redhat.com
Mon Dec 1 14:09:54 UTC 2014


On 11/12/14 18:40, Michal Privoznik wrote:
> On 06.11.2014 15:31, Eric Blake wrote:
>> On 11/06/2014 02:01 PM, Michal Privoznik wrote:
>>> This flag can be used to sync the domain's time right after
>>> domain CPUs are started. It's basically backing call of two
>>> subsequent APIs into one:
>>>
>>> 1) virDomainResume(dom)
>>> 2) virDomainSetTime(dom, 0, 0, VIR_DOMAIN_TIME_SYNC)
>>>
>>> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>>> ---
>>>   include/libvirt/libvirt-domain.h |  7 +++++++
>>>   src/libvirt-domain.c             | 18 ++++++++++++------
>>>   src/qemu/qemu_driver.c           | 20 +++++++++++++++++++-
>>
>> Still missing a change to remote_protocol.x to add proper ACL checking
>> of the flag (see my reply to v1).
> 
> Okay, fixed in my local branch. Any other comments?
> 

For this one I'm still not convinced this is a good idea to combine the
two operations. I'd still like to have a second opinion on that.

Code-wise you've solved all my requests from the previous version.

1/2 ACK.

Peter



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141201/91f31167/attachment-0001.sig>


More information about the libvir-list mailing list