]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Support variable clock offset mode in QEMU
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 2 Feb 2010 18:07:12 +0000 (18:07 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 1 Mar 2010 18:41:40 +0000 (18:41 +0000)
commit200c83b29ddceaa4be045cafaff306620004c42b
tree92ff01daa3221233337c5c9d353950dd381c6047
parentb9e2967a5ecbad6fd5d62e6e7a951cb4b50426a6
Support variable clock offset mode in QEMU

This allows QEMU guests to be started with an arbitrary clock
offset

The test case can't actually be enabled, since QEMU argv expects
an absolute timestring, and this will obviously change every
time the test runs :-( Hopefully QEMU will allow a relative
time offset in the future.

* src/qemu/qemu_conf.c, src/qemu/qemu_conf.h: Use the -rtc arg
  if available to support variable clock offset mode
* tests/qemuhelptest.c: Add QEMUD_CMD_FLAG_RTC for qemu 0.12.1
* qemuxml2argvdata/qemuxml2argv-clock-variable.args,
  qemuxml2argvdata/qemuxml2argv-clock-variable.xml,
  qemuxml2argvtest.c: Test case, except we can't actually enable
  it yet.
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
tests/qemuhelptest.c
tests/qemuxml2argvdata/qemuxml2argv-clock-variable.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-clock-variable.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c