Hi all,
As title, thanks a lot. My test host configurations:
Linux desktop 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux
The test tool output as following:
xxx@desktop:~$ sudo libguestfs-test-tool
[sudo] password for xxx:
===== Test starts here =====
LIBGUESTFS_DEBUG=1
TMPDIR=(not set)
libguestfs: new guestfs handle 0x16cd0f0
library version: 1.15.11
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/lib/guestfs
guestfs_get_pgroup: 0
guestfs_get_qemu: /usr/bin/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/lib/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/lib/guestfs/supermin.d
checking modpath /lib/modules/3.0.0-13-generic is a directory
picked vmlinuz-3.0.0-13-generic because modpath
/lib/modules/3.0.0-13-generic exists
checking modpath /lib/modules/3.0.0-14-generic is a directory
picked vmlinuz-3.0.0-14-generic because modpath
/lib/modules/3.0.0-14-generic exists
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00001ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00001ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin helper [00031ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [00196ms] finished creating appliance
libguestfs: [00201ms] begin building supermin appliance
libguestfs: [00203ms] run febootstrap-supermin-helper
libguestfs: [00205ms] febootstrap-supermin-helper --verbose -f ext2
/usr/lib/guestfs/supermin.d x86_64 /var/tmp/guestfs.jgetV0/kernel
/var/tmp/guestfs.jgetV0/initrd /var/tmp/guestfs.jgetV0/root
supermin helper [00000ms] whitelist = (not specified), host_cpu =
x86_64, kernel = /var/tmp/guestfs.jgetV0/kernel, initrd =
/var/tmp/guestfs.jgetV0/initrd, appliance =
/var/tmp/guestfs.jgetV0/root
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/3.0.0-13-generic is a directory
picked vmlinuz-3.0.0-13-generic because modpath
/lib/modules/3.0.0-13-generic exists
checking modpath /lib/modules/3.0.0-14-generic is a directory
picked vmlinuz-3.0.0-14-generic because modpath
/lib/modules/3.0.0-14-generic exists
supermin helper [00000ms] finished creating kernel
supermin helper [01816ms] finished mke2fs
supermin helper [01816ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [01817ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [01923ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [01932ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin helper [07257ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [17331ms] finished creating appliance
libguestfs: [17547ms] finished building supermin appliance
libguestfs: [17581ms] begin testing qemu features
libguestfs: [17611ms] finished testing qemu features
libguestfs: accept_from_daemon: 0x16cd0f0 g->state = 1
[17614ms] /usr/bin/kvm \
-drive file=/tmp/libguestfs-test-tool-sda-6OA3hT,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/libguestfsJF88Lr/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-kernel /var/tmp/.guestfs-0/kernel.17521 \
-initrd /var/tmp/.guestfs-0/initrd.17521 \
-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.17521,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: 0x16cd0f0: child process died
libguestfs: error: child process died unexpectedly
libguestfs-test-tool: failed to launch appliance
libguestfs: closing guestfs handle 0x16cd0f0 (state 0)
Zhi Yan, Liu