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(a)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