[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Adjusting HVM guest time leads to overflow



hi,all

  I adjusted time back to year 1900 in windows guest vm. And when i rebooted the vm, it failed.

It seems that the value of adjustment exceed the range. Any suggestions?

The logs:

[2015-06-26 11:13:13 15113] DEBUG (SrvDomain:76) Starting domain instance-000001bb False
[2015-06-26 11:13:13 15113] DEBUG (XendDomainInfo:2311) XendDomainInfo.constructDomain
[2015-06-26 11:13:13 15113] DEBUG (balloon:166) Balloon: 13544396 KiB free; need 4096; done.
[2015-06-26 11:13:13 15113] DEBUG (XendDomain:453) Adding Domain: 30
[2015-06-26 11:13:13 15113] DEBUG (XendDomainInfo:2512) XendDomainInfo.initDomain: 30 256
[2015-06-26 11:13:13 15113] DEBUG (image:322) No VNC passwd configured for vfb access
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: boot, val: c
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: fda, val: None
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: fdb, val: None
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: soundhw, val: None
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: localtime, val: 1
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: serial, val: ['pty']
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: std-vga, val: None
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: isa, val: None
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: acpi, val: 1
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: usb, val: 1
[2015-06-26 11:13:13 15113] DEBUG (image:813) args: usbdevice, val: tablet
[2015-06-26 11:13:13 15113] ERROR (XendDomainInfo:476) VM start failed
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 456, in start
XendTask.log_progress(31, 60, self._initDomain)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2517, in initDomain
self.image = image.create(self, self.info)
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 66, in create
return findImageHandlerClass(vmConfig)(vm, vmConfig)
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 716, in init
ImageHandler.
_init__(self, vm, vmConfig)
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 96, in init
self.configure(vmConfig)
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 945, in configure
HVMImageHandler.configure(self, vmConfig)
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 721, in configure
ImageHandler.configure(self, vmConfig)
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 129, in configure
xc.domain_set_time_offset(self.vm.getDomid(), rtc_timeoffset)
OverflowError: signed integer is greater than maximum

vm.cfg as follows:
<domain type='xen'>
<name>instance-000001bb</name>
<uuid>80afee54-40b6-4aec-bf19-53bca024c3d8</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='variable' adjustment='-1917066511' basis='localtime'>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
<driver name='phy'/>
<source dev='/dev/xenvg1/instance-000001bb_disk'/>
<target dev='hda' bus='ide'/>
</disk>
<interface type='bridge'>
<mac address='fa:16:3e:05:63:37'/>
<source bridge='xbr_v26'/>
<script path='vif-bridge'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='10.195.158.117'>
<listen type='address' address='10.195.158.117'/>
</graphics>
</devices>
</domain>


--
Services Computing Technology and System Lab && Cluster and Grid Computing Lab.
School of Computer Science and Technology,
Huazhong University of Science and Technology,
Wuhan,430074,China.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.