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

Michal Privoznik mprivozn at redhat.com
Wed Nov 12 17:40:56 UTC 2014


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?

Michal




More information about the libvir-list mailing list