From d09ceb9049454cec3f7745a99c1af8a48150e6a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan-Simon=20M=C3=B6ller?= Date: Fri, 26 Mar 2010 16:27:23 +0100 Subject: [PATCH] Enable ext4 for KVM again. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Mohring Signed-off-by: Jan-Simon Möller --- build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build b/build index aadea14..914c120 100755 --- a/build +++ b/build @@ -876,8 +876,9 @@ if test -n "$KILL" ; then cleanup_and_exit 0 fi -#if test "ext4" = "$VMDISK_FILESYSTEM"; then -# vm_img_mkfs='mkfs.ext4 -m 0 -q -F' +if test "ext4" = "$VMDISK_FILESYSTEM"; then + vm_img_mkfs='mkfs.ext4 -m 0 -q -F' +fi # mkinitrd_virtio_cmd=(env rootfstype=ext4 mkinitrd -d /dev/null -m "ext4 binfmt_misc virtio_pci virtio_blk" -k $kvm_kernel -i ${kvm_initrd}-ext4-virtio) # env rootfstype=ext4 mkinitrd -d /dev/null -m "ext4 binfmt_misc virtio_pci virtio_blk" -k $kvm_kernel -i ${kvm_initrd}-ext4 # export kvm_initrd=${kvm_initrd}-ext4 @@ -885,6 +886,7 @@ fi # #$vm_img_tunefs #fi if [ "$VM_TYPE" = 'kvm' -a -z "$RUNNING_IN_VM" -a -n "$VM_KERNEL" -a -n "$VM_INITRD" ] ; then + qemu_bin="$kvm_bin" qemu_initrd="$VM_INITRD" qemu_kernel="$VM_KERNEL" -- 2.7.4