[libvirt] [libvirt-python][PATCH] Implement virDomain{Get, Set}Time APIs
Pavel Hrdina
phrdina at redhat.com
Tue May 20 07:25:03 UTC 2014
On 19.5.2014 16:07, Michal Privoznik wrote:
> While the setter can be generated automatically, the getter is not.
> However, it would be a lot easier if they both share the same logic:
> a python dictionary to represent the time: dict['seconds'] to
> represent seconds, and dict['nseconds'] to represent microseconds.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> generator.py | 2 +
> libvirt-override-virDomain.py | 13 ++++++
> libvirt-override.c | 95 +++++++++++++++++++++++++++++++++++++++++++
> sanitytest.py | 2 +-
> 4 files changed, 111 insertions(+), 1 deletion(-)
>
ACK
Pavel
More information about the libvir-list
mailing list