bin/boot-qemu: WIP fixes for stage-2 changes
@@ -17,7 +17,7 @@ STORE_PATH = File.readlink("result")
$copy_readwrite = true;
begin
- disk_image = Dir.glob(File.join(File.readlink("result"), "system", "sd-image", "*.img")).first
+ disk_image = Dir.glob(File.join(File.readlink("result"), "system", "*.img")).first
if $copy_readwrite then
DISK_IMAGE = "fs.img"
cp(disk_image, DISK_IMAGE)
@@ -36,6 +36,7 @@ KERNEL_INITRD = "result/kernel-initrd"
args = []
args.push("qemu-system-x86_64")
+args.push("-enable-kvm")
args.push("-kernel", "#{KERNEL_INITRD}/kernel")
args.push("-initrd", "#{KERNEL_INITRD}/initrd")
args.push("-append", File.read("#{KERNEL_INITRD}/cmdline.txt"))
