virt-manager/virtinst
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
..
__init__.py Convert NodeDevice to XMLBuilder 2013-09-23 08:25:20 -04:00
capabilities.py virtinst: Rename most files to be more sensible 2013-08-09 08:54:39 -04:00
cli.py virt-install: Add --clock option 2013-10-05 16:48:07 -04:00
clock.py clock: Add timer parsing 2013-10-05 16:05:31 -04:00
cloner.py util: Fix generate_name start_num logic 2013-10-05 10:22:27 -04:00
connection.py support: s/CONN_HV/CONN/g 2013-10-02 16:41:23 -04:00
cpu.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
device.py virtinst: add support for virtio-rng devices 2013-09-20 18:56:12 -04:00
deviceaudio.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
devicechar.py details: If we know the channel target name, pretty list it 2013-10-05 14:04:49 -04:00
devicecontroller.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
devicedisk.py virtinst: Expose disk/target/@removable 2013-10-04 07:57:13 -04:00
devicefilesystem.py xmlbuilder: Unify make_xpath callbacks 2013-09-24 09:25:05 -04:00
devicegraphics.py Move the 'default graphics type' logic into Guest 2013-10-02 18:06:52 -04:00
devicehostdev.py devicehostdev: Drop device creation helper 2013-09-27 18:28:28 -04:00
deviceinput.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
deviceinterface.py deviceinterface: Fix creating direct interfaces (bz 1006324) 2013-09-24 10:00:01 -04:00
devicememballoon.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
deviceredirdev.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
devicerng.py virtinst: add support for virtio-rng devices 2013-09-20 18:56:12 -04:00
devicesmartcard.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
devicetpm.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
devicevideo.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
devicewatchdog.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
diskbackend.py virt-install: Add --disk backing_store option 2013-09-29 11:23:59 -04:00
distroinstaller.py storage: Drop unused static function 2013-09-30 16:22:12 -04:00
domainfeatures.py domainfeatures: Fill out XML support 2013-09-27 15:35:27 -04:00
domainnumatune.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
guest.py guest: Set more involved clock defaults for qemu 2013-10-05 17:12:11 -04:00
hostkeymap.py virtinst: Use the default keymap when running tests 2013-10-03 16:49:45 +02:00
installer.py urlfetcher: Clean up APIs for fetching URL media 2013-09-26 14:28:13 -04:00
interface.py Use XMLBuilder for Interface XML 2013-09-19 16:56:38 -04:00
network.py network: Add install() command, remove function from vmmConnection 2013-09-30 15:38:34 -04:00
nodedev.py devicehostdev: Drop device creation helper 2013-09-27 18:28:28 -04:00
osdict.py support: s/CONN_HV/CONN/g 2013-10-02 16:41:23 -04:00
osxml.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
pollhelpers.py pollhelpers: Support nodedev listAllDevices 2013-09-29 09:39:55 -04:00
seclabel.py Simplify XMLProperty declarations 2013-09-19 13:31:33 -04:00
snapshot.py snapshots: Add some specific UI for external snapshots 2013-09-30 19:55:21 -04:00
storage.py util: Fix generate_name start_num logic 2013-10-05 10:22:27 -04:00
support.py guest: Set more involved clock defaults for qemu 2013-10-05 17:12:11 -04:00
urlfetcher.py urlfetcher: Fix distro lookup short circuiting if os_variant specified 2013-09-26 17:45:02 -04:00
util.py util: Fix generate_name start_num logic 2013-10-05 10:22:27 -04:00
virtimage.py DomainFeatures: Drop __getitem__ helpers 2013-09-27 15:08:44 -04:00
xmlbuilder.py xmlbuilder: Unify make_xpath callbacks 2013-09-24 09:25:05 -04:00