diff options
author | Yaniv Kamay <yaniv@qumranet.com> | 2006-07-18 12:23:32 +0000 |
---|---|---|
committer | Yaniv Kamay <yaniv@qumranet.com> | 2006-07-18 12:23:32 +0000 |
commit | 4e51a144dfc2fb779abc0e716700ca5ba17a3e66 (patch) | |
tree | 186cc8f4a88e7b9553185919bed6571e9ae280f5 /scripts | |
parent | 3574342f6f8afe0cbbafd43630b2fe0da3a6a9c5 (diff) |
kvm: script for booting from mkbootdisk output
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run_img | 4 |
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 |