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

Jincheng Miao jmiao at redhat.com
Fri Aug 9 05:39:28 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

Do you apply this patch, and it returns this error?
According to the error "FAILED: No kver 0-rescue-9481a187403f46b38d535cf9ffa1cc20", 
I think it is failed at copy_in_kernel() in xmt-makefv.sh, that is not what I modified.
In another word, it will be failed without this patch.

Jincheng Miao




More information about the Libvirt-cim mailing list