here is another test result in the attachment, and this test takes a
very long time to finish.
Thanks.
--Xingxing Gao
2012/6/4 Wanlong Gao <wanlong.gao(a)gmail.com>:
Hi,
Sorry, I'll be offline this week untill this Sat.
and have not time to look into your results.
Maybe Rich will reply you after his UK holiday.
Thanks,
Wanlong Gao
On 6/4/12, Xing.x.Gao <itxx00(a)gmail.com> wrote:
> Here is another test result with qemu-kvm1.0.94:
> #time libguestfs-test-tool
> ===== Test starts here =====
> LIBGUESTFS_DEBUG=1
> new guestfs handle 0x17253b0
> 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 [00016ms] visiting
> /usr/lib64/guestfs/supermin.d/ntfs.hostfiles
> supermin helper [00016ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.img
> supermin helper [00064ms] finished creating appliance
> [00070ms] begin testing qemu features
> [00089ms] finished testing qemu features
> [00089ms] /usr/libexec/qemu-kvm \
> -drive
> file=/tmp/libguestfs-test-tool-sda-jtlWhm,cache=off,format=raw,if=virtio
> \
> -drive
> file=/tmp/libguestfs-test-tool-iso-VmINmT,snapshot=on,format=raw,if=virtio
> \
> -nodefconfig \
> -enable-kvm \
> -nodefaults \
> -nographic \
> -m 500 \
> -no-reboot \
> -no-hpet \
> -device virtio-serial \
> -serial stdio \
> -chardev socket,path=/tmp/libguestfsPy68cP/guestfsd.sock,id=channel0 \
> accept_from_daemon: 0x17253b0 g->state = 1
> -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
> -kernel /tmp/.guestfs-0/kernel.3257 \
> -initrd /tmp/.guestfs-0/initrd.3257 \
> -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.3257,snapshot=on,if=virtio,cache=unsafe
> recv_from_daemon: 0x17253b0 g->state = 1, size_rtn = 0x7fff4e85810c,
> buf_rtn = 0x7fff4e8580d0
> Alarm clock
>
> real 2m0.026s
> user 0m0.069s
> sys 0m0.069s
>
>
>
>
> 2012/6/4 Xing.x.Gao <itxx00(a)gmail.com>:
>> 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(a)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(a)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
>
> _______________________________________________
> Libguestfs mailing list
> Libguestfs(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/libguestfs
>
--
Best regards
Wanlong Gao