[libvirt] [PATCHv4 1/3] Introduce virDomain{Get,Set}Time APIs

Ján Tomko jtomko at redhat.com
Wed May 14 12:38:51 UTC 2014


On 05/07/2014 10:19 AM, Michal Privoznik wrote:
> These APIs allow users to get or set time in a domain, which may come
> handy if the domain has been resumed just recently and NTP is not
> configured or hasn't kicked in yet and the guest is running
> something time critical. In addition, NTP may refuse to re-set the clock
> if the skew is too big.
> 
> In addition, new ACL attribute is introduced 'set_time'.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  daemon/remote.c              | 37 +++++++++++++++++
>  include/libvirt/libvirt.h.in | 14 +++++++
>  src/access/viraccessperm.c   |  2 +-
>  src/access/viraccessperm.h   |  7 +++-
>  src/driver.h                 | 14 +++++++
>  src/libvirt.c                | 94 ++++++++++++++++++++++++++++++++++++++++++++
>  src/libvirt_public.syms      |  2 +
>  src/remote/remote_driver.c   | 35 +++++++++++++++++
>  src/remote/remote_protocol.x | 31 ++++++++++++++-
>  src/remote_protocol-structs  | 16 ++++++++
>  10 files changed, 249 insertions(+), 3 deletions(-)
> 

ACK

Jan


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


More information about the libvir-list mailing list