bash-4.1$ sudo virt-resize --expand /dev/vda2 --LV-expand /dev/vg_main/lv_root centos6.4-x86_64-gold-master.img centos6.4-x86_64-gold-master-5G.img Examining centos6.4-x86_64-gold-master.img ... libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: create: flags = 0, handle = 0x13d5bb0 libguestfs: trace: add_drive "centos6.4-x86_64-gold-master.img" "readonly:true" libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive "centos6.4-x86_64-gold-master-5G.img" "readonly:false" libguestfs: trace: add_drive = 0 libguestfs: trace: launch libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: launch: attach-method=appliance libguestfs: launch: tmpdir=/tmp/libguestfscOUkVu libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -f checksum libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ 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-358.0.1.el6.x86_64 is a directory picked vmlinuz-2.6.32-358.0.1.el6.x86_64 because modpath /lib/modules/2.6.32-358.0.1.el6.x86_64 exists checking modpath /lib/modules/2.6.32-279.el6.x86_64 is a directory picked vmlinuz-2.6.32-279.el6.x86_64 because modpath /lib/modules/2.6.32-279.el6.x86_64 exists checking modpath /lib/modules/2.6.32-431.5.1.el6.x86_64 is a directory picked vmlinuz-2.6.32-431.5.1.el6.x86_64 because modpath /lib/modules/2.6.32-431.5.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 [00023ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [00023ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [00023ms] adding kernel modules supermin helper [00051ms] finished creating appliance libguestfs: checksum of existing appliance: 8b1730261ac5707e649da0575701be9d6d733d196bfc13425803d30575c8ae4f libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: [00054ms] begin testing qemu features libguestfs: command: run: /usr/libexec/qemu-kvm libguestfs: command: run: \ -nographic libguestfs: command: run: \ -help libguestfs: command: run: /usr/libexec/qemu-kvm libguestfs: command: run: \ -nographic libguestfs: command: run: \ -version libguestfs: qemu version 0.12 libguestfs: command: run: /usr/libexec/qemu-kvm libguestfs: command: run: \ -nographic libguestfs: command: run: \ -machine accel=kvm:tcg libguestfs: command: run: \ -device ? libguestfs: [00083ms] finished testing qemu features libguestfs: accept_from_daemon: 0x13d5bb0 g->state = 1 [00083ms] /usr/libexec/qemu-kvm \ -global virtio-blk-pci.scsi=off \ -nodefconfig \ -nodefaults \ -nographic \ -machine accel=kvm:tcg \ -cpu host,+kvmclock \ -m 500 \ -no-reboot \ -kernel /var/tmp/.guestfs-0/kernel.27666 \ -initrd /var/tmp/.guestfs-0/initrd.27666 \ -device virtio-scsi-pci,id=scsi \ -drive file=centos6.4-x86_64-gold-master.img,snapshot=on,id=hd0,if=none \ -device scsi-hd,drive=hd0 \ -drive file=centos6.4-x86_64-gold-master-5G.img,cache=none,id=hd1,if=none \ -device scsi-hd,drive=hd1 \ -drive file=/var/tmp/.guestfs-0/root.27666,snapshot=on,id=appliance,if=none,cache=unsafe \ -device scsi-hd,drive=appliance \ -device virtio-serial \ -serial stdio \ -device sga \ -chardev socket,path=/tmp/libguestfscOUkVu/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdc selinux=0 guestfs_verbose=1 TERM=xterm' kvm_create_vm: Device or resource busy failed to initialize KVM: Operation not permitted Back to tcg accelerator. qemu-kvm: -drive file=centos6.4-x86_64-gold-master-5G.img,cache=none,id=hd1,if=none: 'hd1' uses a qcow2 feature which is not supported by this qemu version: QCOW version 3 qemu-kvm: -drive file=centos6.4-x86_64-gold-master-5G.img,cache=none,id=hd1,if=none: could not open disk image centos6.4-x86_64-gold-master-5G.img: Operation not supported libguestfs: child_cleanup: 0x13d5bb0: child process died libguestfs: sending SIGTERM to process 27675 libguestfs: trace: launch = -1 (error) Fatal error: exception Guestfs.Error("guestfs_launch failed, see earlier error messages") libguestfs: trace: close libguestfs: closing guestfs handle 0x13d5bb0 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfscOUkVu bash-4.1$ ^C bash-4.1$