virt-manager/tests
Cole Robinson eede884554 guest: Set more involved clock defaults for qemu
The XML we use is:

  <clock offset="utc">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
  </clock>

Which translates to the qemu commands:

    -no-hpet -no-kvm-pit-reinjection -rtc driftfix=slew

The latter two bits are already used by openstack and gnome boxes by
default.

On RHEL hpet is compiled out so -no-hpet is the default,
but not everywhere else. Though recently the RH guys confirmed that
for regular usage it should be turned off because a) qemu support
is not that good, b) most users don't need it anyways c) it has
a performance penalty.

This default can be overridden from a virt-install command like

  --clock rtc_tickpolicy=delay

When Guest() sees that a timer has already been defined, it won't
set the new defaults, and that setting above is the old implied
default rtc setting.
2013-10-05 17:12:11 -04:00
..
capabilities-xml tests: Add recent libvirt capabilities, share URIs better 2013-08-18 08:39:51 -04:00
cli-test-xml guest: Set more involved clock defaults for qemu 2013-10-05 17:12:11 -04:00
clone-xml Fix tests on f20, /dev/loop0 isn't available 2013-09-25 19:35:05 -04:00
image-xml tests: Fix REPLACEME image.py hack 2013-09-26 19:56:16 -04:00
inject-data tests: Add test_initrd_inject command 2013-09-28 16:50:08 -04:00
interface-xml Use XMLBuilder for Interface XML 2013-09-19 16:56:38 -04:00
nodedev-xml/devxml xmlbuilder: Always keep around an xml node, even if building from scratch 2013-07-25 10:59:23 -04:00
storage-xml Use XMLBuilder for Storage object handling 2013-09-20 10:00:08 -04:00
virtconv-files Merge code from python-virtinst.git 2013-04-03 18:22:05 -04:00
xmlconfig-xml guest: Set more involved clock defaults for qemu 2013-10-05 17:12:11 -04:00
xmlparse-xml clock: Add timer parsing 2013-10-05 16:05:31 -04:00
__init__.py cliconfig: Use default values if we're in the test suite 2013-10-02 18:42:51 -04:00
capabilities.py virtinst: Fix import ordering to standardize on relative imports 2013-08-08 20:49:50 -04:00
clitest.py virt-install: Add --clock option 2013-10-05 16:48:07 -04:00
clonetest.py tests: move the storage pool under /dev. 2013-07-29 10:01:18 -04:00
image.py tests: Add extra caching to speed up tests 2013-09-28 21:07:22 -04:00
interface.py Use XMLBuilder for Interface XML 2013-09-19 16:56:38 -04:00
misc.py tests: Make sure virtinst doesn't pull in Gtk 2013-04-18 16:41:02 -04:00
nodedev.py devicehostdev: Drop device creation helper 2013-09-27 18:28:28 -04:00
pep8.cfg Revive pep8 and clean up the code 2013-04-13 15:22:43 -04:00
pylint.cfg VirtualConnection: Allow using virt-manager object caches 2013-07-07 18:54:08 -04:00
storage.py storage: Drop unused static function 2013-09-30 16:22:12 -04:00
support.py Revive pep8 and clean up the code 2013-04-13 15:22:43 -04:00
test_inject.py tests: Add test_initrd_inject command 2013-09-28 16:50:08 -04:00
test_urls.py test_urls: Fix --path option 2013-09-26 18:32:50 -04:00
testdriver.xml details: If we know the channel target name, pretty list it 2013-10-05 14:04:49 -04:00
utils.py cliconfig: Use default values if we're in the test suite 2013-10-02 18:42:51 -04:00
virtconvtest.py Revive pep8 and clean up the code 2013-04-13 15:22:43 -04:00
xmlconfig.py VirtualDisk: Try to append targets, not just use first free (bz #905439) 2013-10-03 08:48:15 -04:00
xmlparse.py clock: Add timer parsing 2013-10-05 16:05:31 -04:00