[Libguestfs] guestfish1.7.17 does not support qemu-kvm1.0.93?

Xing.x.Gao itxx00 at gmail.com
Mon Jun 4 07:45:13 UTC 2012


i have a backup of the old version qemu-kvm /usr/libexec/qemu-kvm.b
and when i use this to run vm, guestfish works ok,
#mv /usr/libexec/qemu-kvm.b /usr/libexec/qemu-kvm
#libguestfs-test-tools
after run this test i got the OK result as bellow:
This is the libguestfs-test-tool helper program.
===== TEST FINISHED OK =====
when use the qemu-kvm which make from the 1.0.93 sourcecode,it doesnt work.

2012/6/4 xingxing gao <itxx00 at gmail.com>:
> hello, this is my test result:
>
> # libguestfs-test-tool
> ===== Test starts here =====
> LIBGUESTFS_DEBUG=1
> new guestfs handle 0x2319270
> library version: 1.7.17
> guestfs_get_append: (null)
> guestfs_get_autosync: 1
> guestfs_get_memsize: 500
> guestfs_get_path: /usr/lib64/guestfs
> guestfs_get_qemu: /usr/libexec/qemu-kvm
> guestfs_get_verbose: 1
> Launching appliance, timeout set to 120 seconds.
> [00000ms] febootstrap-supermin-helper --verbose -f checksum
> '/usr/lib64/guestfs/supermin.d' x86_64
> supermin helper [00000ms] whitelist = (not specified), host_cpu =
> x86_64, kernel = (null), initrd = (null), appliance = (null)
> supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
> checking modpath /lib/modules/2.6.32-220.17.1.el6.x86_64 is a directory
> picked vmlinuz-2.6.32-220.17.1.el6.x86_64 because modpath
> /lib/modules/2.6.32-220.17.1.el6.x86_64 exists
> supermin helper [00000ms] finished creating kernel
> supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d
> supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/base.img
> supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
> supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
> supermin helper [00018ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.hostfiles
> supermin helper [00018ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.img
> supermin helper [00154ms] finished creating appliance
> [00159ms] begin testing qemu features
> [00184ms] finished testing qemu features
> [00185ms] /usr/libexec/qemu-kvm \
>    -drive file=/tmp/libguestfs-test-tool-sda-OwyWl8,cache=off,format=raw,if=virtio
> \
>    -drive file=/tmp/libguestfs-test-tool-iso-c2hwgq,snapshot=on,format=raw,if=virtio
> \
>   accept_from_daemon: 0x2319270 g->state = 1
>  -nodefconfig \
>    -enable-kvm \
>    -nodefaults \
>    -nographic \
>    -m 500 \
>    -no-reboot \
>    -no-hpet \
>    -device virtio-serial \
>    -serial stdio \
>    -chardev socket,path=/tmp/libguestfs7TWprQ/guestfsd.sock,id=channel0 \
>    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
>    -kernel /tmp/.guestfs-0/kernel.23466 \
>    -initrd /tmp/.guestfs-0/initrd.23466 \
>    -append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off
> printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1
> TERM=xterm ' \
>    -drive file=/tmp/.guestfs-0/root.23466,snapshot=on,if=virtio,cache=unsafe
> recv_from_daemon: 0x2319270 g->state = 1, size_rtn = 0x7fff91d29a3c,
> buf_rtn = 0x7fff91d29a00
>
> thanks.
> 2012/6/4 Wanlong Gao <gaowanlong at cn.fujitsu.com>:
>> On 06/04/2012 11:42 AM, xingxing gao wrote:
>>
>>> Hi,all,i build qemu-kvm1.0.93  from source code on centos6.2 ,
>>> # qemu-system-x86_64 --version
>>> QEMU emulator version 1.0.93 (qemu-kvm-devel), Copyright (c) 2003-2008
>>> Fabrice Bellard
>>>
>>> and the guestfish's version:
>>> # guestfish --version
>>> guestfish 1.7.17
>>>
>>> but when i use the guestfish command to upload a file to a vm,it does not work ,
>>>
>>> # guestfish --rw -i -d centosvm upload /test/ifcfg-eth0_centos
>>> /etc/sysconfig/network-scripts/ifcfg-eth0
>>>
>>> the command doesnot return any error massage and keep running till i
>>> press crtl+c.
>>
>>
>> Can you run /usr/bin/libguestfs-test-tool and post the results?
>>
>> Thanks,
>> Wanlong Gao




More information about the Libguestfs mailing list