[libvirt] Libvirt clock/time settings doubt.

Hi everyone! What is the method/function responsible to setup time settings in libvirt? Considering the example of libvirt documentation. <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup' track='guest'> <catchup threshold='123' slew='120' limit='10000'/> </timer> <timer name='pit' tickpolicy='delay'/> </clock> ... I know where this XML will be parsed. But I don't know where libvirt will pass clock/time settings to QEMU. Can somebody explain to me or send me a documentation about it? I passed two weeks trying to discover the sequence of function calls. Thanks guys! *--* *Julio Cesar Faracco*

You probably need to have a look at sequence qemuBuildCommandLine() -> qemuBuildClockArgStr() in src/qemu/qemu_command.c Regards, Shiva On Wed, Oct 22, 2014 at 5:16 PM, Julio Faracco <jcfaracco@gmail.com> wrote:
Hi everyone!
What is the method/function responsible to setup time settings in libvirt? Considering the example of libvirt documentation.
<clock offset='localtime'> <timer name='rtc' tickpolicy='catchup' track='guest'> <catchup threshold='123' slew='120' limit='10000'/> </timer> <timer name='pit' tickpolicy='delay'/> </clock> ...
I know where this XML will be parsed. But I don't know where libvirt will pass clock/time settings to QEMU.
Can somebody explain to me or send me a documentation about it?
I passed two weeks trying to discover the sequence of function calls.
Thanks guys!
-- Julio Cesar Faracco
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
participants (2)
-
Julio Faracco
-
Shivaprasad bhat