[Libvirt-cim] [PATCH] cimtest: fix guest images generation

Jincheng Miao jmiao at redhat.com
Fri Aug 9 06:02:41 UTC 2013


----- Original Message -----
> I'm not the expert here - how would I know whether this works?
> 
> I read the README, ran make but it didn't succeed:
> 
> # make
> chmod +x xmt-convert.sh
> (cd xm-test && sh ../xmt-convert.sh `basename xm-test/initrd-1.1-i386.img`)
> 1856 blocks
> if uname -r | grep -q xen; then \
> 	cp /boot/vmlinuz-`uname -r` /var/lib/libvirt/images/default-xen-kernel; \
> fi
> chmod +x xmt-makefv.sh
> ./xmt-makefv.sh xm-test/xm-test.gz xm-test/xmt_disk.img
> Warning: The resulting partition is not properly aligned for best
> performance.
> FAILED: No kver 0-rescue-9481a187403f46b38d535cf9ffa1cc20
> make: *** [xm-test/xmt_disk.img] Error 1

hmm, for this error, xmt-makefv.sh fails to find the kernel image in your os.

In kernel_path() of xmt-makefv, 
it uses "find /boot | grep vmlinuz | egrep -v 'xen|hmac'| tail -n1" to get image path. 

The error you met maybe that your kernel image lacks hmac (a signature).




More information about the Libvirt-cim mailing list