[libvirt] [PATCHv2 0/4] Time setting and getting in qemu guests

2014-04-02 Thread Michal Privoznik
If we'd come up with a struct to interpret the time, it's written in stone and there's nothing we can do about it. Even if we break up the struct into function arguments. However, we can use typed parameters and have the API extensible. For example, I'm implementing seconds granularity only for

Re: [libvirt] [PATCHv2 0/4] Time setting and getting in qemu guests

2014-04-02 Thread Eric Blake
On 04/02/2014 03:34 AM, Michal Privoznik wrote: If we'd come up with a struct to interpret the time, it's written in stone and there's nothing we can do about it. Even if we break up the struct into function arguments. However, we can use typed parameters and have the API extensible. For

Re: [libvirt] [PATCHv2 0/4] Time setting and getting in qemu guests

2014-04-02 Thread Daniel P. Berrange
On Wed, Apr 02, 2014 at 05:44:16AM -0600, Eric Blake wrote: On 04/02/2014 03:34 AM, Michal Privoznik wrote: If we'd come up with a struct to interpret the time, it's written in stone and there's nothing we can do about it. Even if we break up the struct into function arguments. However, we