[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?

> 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 =====
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


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