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

[Xen-users] How to use kexec on xen 4.0.3 ?



Hi all.

I saw from the 4.0.3 release announcement that kexec/kdump are now supported.
http://markmail.org/message/e7yykpil3jldlllu

What is the correct/required xm configuration to use kexec for reloading a 
kernel?
I tested with the following, but attempting a kexec just destroys the vm:

Xen: 4.0.3 (built from the tarball)
Dom0: Linux 2.6.32.50 (x86_64 with pvops)
DomU: Linux 2.6.32.18 (i686 boot via pvgrub)
kexec-tools 2.0.2 in the DomU (configured --with-xen)

What am I missing...?

Is there some xm config option needed (similar to on_crash etc)?
Is hvm required for kexec to work in domU on xen 4.0.3, or is pv OK?
Was the release announcement for kexec on dom0 only, not domU? (it didn't say 
so)

Here's what I seen in the dom0 logs when I attempt "kexec -l /boot/bzImage ; 
kexec -e" in the domU:

[2011-12-28 12:41:03 4398] INFO (XendDomainInfo:2088) Domain has shutdown: 
name=iain id=4 reason=poweroff.
[2011-12-28 12:41:03 4398] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: 
domid=4

Sample config below.

name = "iain"
memory = "2048"
kernel = "/usr/lib/xen/boot/pv-grub-x86_32.gz"
extra = "(hd0,0)/grub/menu.lst"
disk = [ 'file://var/lib/xen/images/iain/acme-xen-i686.img,sda,w' ]
vif = [ "mac=00:16:3e:30:00:13,bridge=eth0" ]
vcpus=2

thanks,
Iain

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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