guestfish1.7.17 does not support qemu-kvm1.0.93?
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. i build qemu-kvm like bellow: ./configure --target-list=x86_64-softmmu \ --prefix=/usr/local/qemu-kvm \ --sysconfdir=/etc \ --audio-drv-list=alsa \ --audio-card-list=ac97,es1370 \ --disable-strip \ --disable-xen \ --enable-virtfs \ --block-drv-whitelist=qcow2,raw,file,host_device,host_cdrom,qed \ --disable-debug-tcg \ --disable-sparse \ --enable-werror \ --disable-sdl \ --disable-curses \ --disable-curl \ --enable-vnc \ --enable-vnc-tls \ --enable-vnc-sasl \ --disable-brlapi \ --disable-bluez \ --disable-docs \ --disable-vde \ --enable-linux-aio \ --enable-kvm \ --enable-spice \ --enable-kvm-device-assignment \ --enable-trace-backend=dtrace \ --enable-smartcard \ --disable-smartcard-nss \ --disable-guest-agent could anyone give some help?thanks.
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
i build qemu-kvm like bellow:
./configure --target-list=x86_64-softmmu \ --prefix=/usr/local/qemu-kvm \ --sysconfdir=/etc \ --audio-drv-list=alsa \ --audio-card-list=ac97,es1370 \ --disable-strip \ --disable-xen \ --enable-virtfs \ --block-drv-whitelist=qcow2,raw,file,host_device,host_cdrom,qed \ --disable-debug-tcg \ --disable-sparse \ --enable-werror \ --disable-sdl \ --disable-curses \ --disable-curl \ --enable-vnc \ --enable-vnc-tls \ --enable-vnc-sasl \ --disable-brlapi \ --disable-bluez \ --disable-docs \ --disable-vde \ --enable-linux-aio \ --enable-kvm \ --enable-spice \ --enable-kvm-device-assignment \ --enable-trace-backend=dtrace \ --enable-smartcard \ --disable-smartcard-nss \ --disable-guest-agent
could anyone give some help?thanks.
_______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
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
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
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
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
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
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 1.7.17 was what we supplied in RHEL 6.1 / 6.2 and CentOS derivatives, but it's rather old and cannot cope with anything except the qemu which is also supplied in RHEL. I'd suggest first of all trying the RHEL 6.3 packages here: http://people.redhat.com/~rjones/libguestfs-RHEL-6.3-preview/ These will work fine on RHEL 6.2 (or CentOS 6.2). Read the README file first. Secondly, use the regular qemu and kernel packages supplied by Red Hat. These contain all the bits needed for libguestfs to work, and have been extensively tested. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
2012/6/6 Richard W.M. Jones <rjones@redhat.com>:
libguestfs 1.7.17 was what we supplied in RHEL 6.1 / 6.2 and CentOS derivatives, but it's rather old and cannot cope with anything except the qemu which is also supplied in RHEL.
I'd suggest first of all trying the RHEL 6.3 packages here:
http://people.redhat.com/~rjones/libguestfs-RHEL-6.3-preview/
firstly,i've updated libguestfs before the tests, # guestfish --version guestfish 1.16.19rhel=6,release=1.el6
Secondly, use the regular qemu and kernel packages supplied by Red Hat. These contain all the bits needed for libguestfs to work, and have been extensively tested.
secondly,the regular qemu supplied by redhat does not support disk only snapshot using libvirt,so i am tring to solve these problems. and yestoday i found that qemu-kvm-0.14.1 works correct with guestfish , thanks.
firstly,i've updated libguestfs before the tests, # guestfish --version guestfish 1.16.19rhel=6,release=1.el6
Secondly, use the regular qemu and kernel packages supplied by Red Hat. These contain all the bits needed for libguestfs to work, and have been extensively tested.
secondly,the regular qemu supplied by redhat does not support disk only snapshot using libvirt,so i am tring to solve these problems. and yestoday i found that qemu-kvm-0.14.1 works correct with guestfish ,
thanks.
qemu-kvm-1.1-rc4 does not support guestfish 1.16.19 too....
On Mon, Jun 18, 2012 at 08:30:17PM +0800, Xing.x.Gao wrote:
qemu-kvm-1.1-rc4 does not support guestfish 1.16.19 too....
You need to run 'libguestfs-test-tool', otherwise no one can tell what's going on. Also specify where you got both of these programs from. Are they ones that Red Hat supplied? Did you compile them from source? Did you get them from some other place? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
2012/6/18 Richard W.M. Jones <rjones@redhat.com>:
On Mon, Jun 18, 2012 at 08:30:17PM +0800, Xing.x.Gao wrote:
qemu-kvm-1.1-rc4 does not support guestfish 1.16.19 too....
You need to run 'libguestfs-test-tool', otherwise no one can tell what's going on.
Also specify where you got both of these programs from. Are they ones that Red Hat supplied? Did you compile them from source? Did you get them from some other place?
Rich.
libguestfs--test-tool didnot pass. libguestfs is from you:http://people.redhat.com/~rjones/libguestfs-RHEL-6.3-preview/ qemu-kvm from your company didnot support blkdev_snapshot ,so i build must build it from source by myself, thanks.
On Mon, Jun 18, 2012 at 08:56:35PM +0800, Xing.x.Gao wrote:
2012/6/18 Richard W.M. Jones <rjones@redhat.com>:
On Mon, Jun 18, 2012 at 08:30:17PM +0800, Xing.x.Gao wrote:
qemu-kvm-1.1-rc4 does not support guestfish 1.16.19 too....
You need to run 'libguestfs-test-tool', otherwise no one can tell what's going on.
Also specify where you got both of these programs from. Are they ones that Red Hat supplied? Did you compile them from source? Did you get them from some other place?
Rich.
libguestfs--test-tool didnot pass.
I need the full output. Please help us to help you.
libguestfs is from you:http://people.redhat.com/~rjones/libguestfs-RHEL-6.3-preview/
qemu-kvm from your company didnot support blkdev_snapshot ,so i build must build it from source by myself,
You can't mix and match libguestfs and qemu versions, particularly not the ones that we specially compile for RHEL and test with the RHEL qemu. Try libguestfs from upstream if you're using qemu from upstream. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
I need the full output. Please help us to help you.
the output is : libguestfs: new guestfs handle 0x191a7a0 ===== 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 [00001ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [00019ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [00019ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.hostfiles supermin helper [00020ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.img supermin helper [00020ms] adding kernel modules supermin helper [00077ms] finished creating appliance libguestfs: [00084ms] begin testing qemu features libguestfs: [00104ms] finished testing qemu features libguestfs: accept_from_daemon: 0x191a7a0 g->state = 1 [00106ms] /usr/libexec/qemu-kvm \ -global virtio-blk-pci.scsi=off \ -drive file=/tmp/libguestfs-test-tool-sda-Jew2o4,cache=off,format=raw,if=virtio \ -nodefconfig \ -enable-kvm \ -nodefaults \ -nographic \ -m 500 \ -no-reboot \ -device virtio-serial \ -serial stdio \ -chardev socket,path=/tmp/libguestfsBycanU/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /var/tmp/.guestfs-0/kernel.4327 \ -initrd /var/tmp/.guestfs-0/initrd.4327 \ -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.4327,snapshot=on,if=virtio,cache=unsafe\x1b[1;256r\x1b[256;256H\x1b[6n and the test just arive at here and looks like a zombie. thanks.
On Mon, Jun 18, 2012 at 11:53:36PM +0800, Xing.x.Gao wrote:
guestfs_get_qemu: /usr/libexec/qemu-kvm
This is definitely the qemu that you compiled yourself from upstream? I've never seen qemu simply hang. How long did it hang for? There is a timeout in libguestfs-test-tool (10 minutes IIRC). So eventually it should reach that and time out. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
This is definitely the qemu that you compiled yourself from upstream?
yes,from upstream,i made a `ln -s qemu-system /usr/libexec/qemu-kvm` ,running a guest is ok.
I've never seen qemu simply hang. How long did it hang for? There is
the default timeout is 10mins,below is a fresh report,thanks. [root@server ~]# guestfish --version guestfish 1.16.19rhel=6,release=1.el6 [root@server ~]# time libguestfs-test-tool ===== Test starts here ===== LIBGUESTFS_DEBUG=1 TMPDIR=(not set) libguestfs: new guestfs handle 0x152e7a0 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 [00000ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [00015ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [00015ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.hostfiles supermin helper [00016ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.img supermin helper [00016ms] adding kernel modules supermin helper [00069ms] finished creating appliance libguestfs: [00074ms] begin testing qemu features libguestfs: [00102ms] finished testing qemu features libguestfs: accept_from_daemon: 0x152e7a0 g->state = 1 [00103ms] /usr/libexec/qemu-kvm \ -global virtio-blk-pci.scsi=off \ -drive file=/tmp/libguestfs-test-tool-sda-zkcgws,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/libguestfsOXHWxG/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /var/tmp/.guestfs-0/kernel.4056 \ -initrd /var/tmp/.guestfs-0/initrd.4056 \ -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.4056,snapshot=on,if=virtio,cache=unsafeAlarm clock real 10m0.015s user 0m0.067s sys 0m0.053s [root@server ~]# virsh version Compiled against library: libvir 0.9.11 Using library: libvir 0.9.11 Using API: QEMU 0.9.11 Running hypervisor: QEMU 1.0.94 [root@server ~]# ll /usr/libexec/qemu-kvm lrwxrwxrwx 1 root root 42 Jun 18 20:11 /usr/libexec/qemu-kvm -> /usr/local/qemu-kvm/bin/qemu-system-x86_64 thanks.:-)
On Tue, Jun 19, 2012 at 09:21:59AM +0800, Xing.x.Gao wrote:
This is definitely the qemu that you compiled yourself from upstream?
yes,from upstream,i made a `ln -s qemu-system /usr/libexec/qemu-kvm` ,running a guest is ok.
[root@server ~]# ll /usr/libexec/qemu-kvm lrwxrwxrwx 1 root root 42 Jun 18 20:11 /usr/libexec/qemu-kvm -> /usr/local/qemu-kvm/bin/qemu-system-x86_64
In fact qemu-system-x86_64. I don't know -- I suggest using libguestfs from upstream. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
On Tue, Jun 19, 2012 at 03:45:06PM +0800, Xing.x.Gao wrote:
In fact qemu-system-x86_64.
I don't know -- I suggest using libguestfs from upstream.
Rich.
still thank you for your hard work on libguestfs. thanks.i'll test
libguestfs from upstream ... :-)
Not according to the output of libguestfs-test-tool that you sent me: library version: 1.16.19rhel=6,release=1.el6 That is the version we compile for RHEL 6.3. I strongly suggest that you download the source and start at the README. If you have a local programmer, he or she may be able to help you out compiling software from source. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
participants (5)
-
Richard W.M. Jones -
Wanlong Gao -
Wanlong Gao -
Xing.x.Gao -
xingxing gao