Bug 611232

Summary: -rtc cmdline changes
Product: Red Hat Enterprise Linux 6 Reporter: Dor Laor <dlaor>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: berrange, eblake, gyue, tburke, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-05 10:31:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Dor Laor 2010-07-04 11:53:57 UTC
Description of problem:

Libvirt should pass this cmdline:
'-rtc base=utc,clock=host,driftfix=slew'
instead of only -etc base=utc.

Libvirt should also abundant the old -rtc-td-hack

Comment 1 Daniel Berrange 2010-07-05 10:31:38 UTC
Libvirt won't hardcode time keeping options, but it will pass whatever command line is configured for the guest. To get that particular set of options you need to configure

  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup' track='wall'/>
  </clock>


For compatibility with old QEMU, libvirt will use -rtc-td-hack if it is present, but -rtc is not present.