summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYaniv Kamay <yaniv@qumranet.com>2006-07-18 12:23:32 +0000
committerYaniv Kamay <yaniv@qumranet.com>2006-07-18 12:23:32 +0000
commit4e51a144dfc2fb779abc0e716700ca5ba17a3e66 (patch)
tree186cc8f4a88e7b9553185919bed6571e9ae280f5 /scripts
parent3574342f6f8afe0cbbafd43630b2fe0da3a6a9c5 (diff)
kvm: script for booting from mkbootdisk output
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_img4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/run_img b/scripts/run_img
new file mode 100755
index 00000000..275167c3
--- /dev/null
+++ b/scripts/run_img
@@ -0,0 +1,4 @@
+sudo /sbin/rmmod kvm
+sudo /sbin/insmod ../kernel/kvm.ko
+sudo chmod a+rw /dev/hvm
+../qemu/x86_64-softmmu/qemu-system-x86_64 -boot c -L /usr/share/qemu -hda /tmp/mkbootdisk/boot.img -m 384