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

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



and another test with qemu-kvm-0.15 stable release,result in the attachment,
Thanks.
--Xingxing Gao


2012/6/5 Xing.x.Gao <itxx00 gmail com>:
> 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 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 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 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 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 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 redhat com
>>> https://www.redhat.com/mailman/listinfo/libguestfs
>>>
>>
>>
>> --
>> Best regards
>> Wanlong Gao
libguestfs: new guestfs handle 0x23b37a0
===== Test starts here =====
LIBGUESTFS_DEBUG=1
TMPDIR=(not set)
library version: 1.16.19rhel=6,release=1.el6
guestfs_get_append: (null)
guestfs_get_attach_method: appliance
guestfs_get_autosync: 1
guestfs_get_direct: 0
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib64/guestfs
guestfs_get_pgroup: 0
guestfs_get_qemu: /usr/libexec/qemu-kvm
guestfs_get_recovery_proc: 1
guestfs_get_selinux: 0
guestfs_get_smp: 1
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: [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 [00001ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [00017ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [00017ms] adding kernel modules
supermin helper [00082ms] finished creating appliance
libguestfs: [00088ms] begin testing qemu features
libguestfs: [00120ms] finished testing qemu features
libguestfs: accept_from_daemon: 0x23b37a0 g->state = 1
[00121ms] /usr/libexec/qemu-kvm \
    -global virtio-blk-pci.scsi=off \
    -drive file=/tmp/libguestfs-test-tool-sda-FqVyiR,cache=off,format=raw,if=virtio \
    -nodefconfig \
    -machine accel=kvm:tcg \
    -nodefaults \
    -nographic \
    -m 500 \
    -no-reboot \
    -no-hpet \
    -device virtio-serial \
    -serial stdio \
    -chardev socket,path=/tmp/libguestfssguic3/guestfsd.sock,id=channel0 \
    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
    -kernel /var/tmp/.guestfs-0/kernel.22185 \
    -initrd /var/tmp/.guestfs-0/initrd.22185 \
    -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \
    -drive file=/var/tmp/.guestfs-0/root.22185,snapshot=on,if=virtio,cache=unsafeSupported machines are:
pc         Standard PC (alias of pc-0.14)
pc-0.14    Standard PC (default)
pc-0.13    Standard PC
pc-0.12    Standard PC
pc-0.11    Standard PC, qemu 0.11
pc-0.10    Standard PC, qemu 0.10
isapc      ISA-only PC
libguestfs: child_cleanup: 0x23b37a0: child process died
libguestfs: error: child process died unexpectedly
libguestfs-test-tool: failed to launch appliance
libguestfs: closing guestfs handle 0x23b37a0 (state 0)

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