Tibor Répási
2009-Sep-17 16:59 UTC
[Pkg-xen-devel] Bug#519064: affix to hvm migration fails because of missing /var/lib/xen/save
I had, the same problem. The described solution works, however, the directory needed is /var/lib/xen only (save) is irrelevant here. Have a look into xend.log after a successful hvm migration and see the last but one argument in a line as below: INFO (image:289) spawning device models: /usr/lib/xen-3.2-1/bin/qemu- dm ['/usr/lib/xen-3.2-1/bin/qemu-dm', '-d', '6', '-domain-name', 'anthrax', '-vnc', '0.0.0.0:0,password', '-vcpus', '2', '-boot', 'dc', '-localtime', '-serial', 'pty', '-acpi', '-usbdevice', 'tablet', '- net', 'nic,vlan=1,macaddr=00:16:3e:64:bd:33,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr0', '-M', 'xenfv', '-loadvm', '/var/lib/xen/qemu-save.6', '-vncviewer'] That path is not a part of any configuration, but hard-coded at several points under /usr/lib/xen-3.2-1 : lib/python/xen/xend/XendCheckpoint.py:115: if os.path.exists("/ var/lib/xen/qemu-save.%d" % dominfo.getDomid()): lib/python/xen/xend/XendCheckpoint.py:117: qemu_fd = os.open("/var/lib/xen/qemu-save.%d" % dominfo.getDomid(), lib/python/xen/xend/XendCheckpoint.py:126: os.remove("/var/ lib/xen/qemu-save.%d" % dominfo.getDomid()) lib/python/xen/xend/XendCheckpoint.py:265: qemu_fd = os.open("/var/lib/xen/qemu-save.%d" % dominfo.getDomid(), AFAIK thats all. An export of this setting to a config file would be nice. Not very nice is, that the file created (at me ca. 8M) should be removed at the destination host also. -- Best regards / Mit freundlichen Gr??en / ?dv?zlettel Tibor R?p?si assist. lecturer Department of Information Technology University of Miskolc
Seemingly Similar Threads
- Bug#519064: xen-utils-common: hvm migration fails because of missing /var/lib/xen/save
- Modifying Xen migration
- Snapshot fail, when snapshot a vm the second time. (already update to xen-4.0.1 and kernel-2.6.32.25)
- Snapshot fail, when snapshot a vm the second time. (already update to xen-4.0.1 and kernel-2.6.32.25)
- Internal error during live migration saving