diff options
author | Andrew Cady <d@jerkface.net> | 2018-06-10 11:02:27 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2018-06-13 17:13:52 -0400 |
commit | 7490ed85811bed1822ca51fa7bdb796beb354dfe (patch) | |
tree | 6c18bdf6fceabc7579eba2f5904ff7577454d42e /src/qemu.sh | |
parent | 46a9eab9586c0f901e4bf0ac3c6a887a7cbb3270 (diff) |
Update for newer versions of qemu
(The new qemu warns about opening a file as a raw disk image unless
`raw` is specified explicitly.)
Diffstat (limited to 'src/qemu.sh')
-rwxr-xr-x | src/qemu.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qemu.sh b/src/qemu.sh index 11de8e7..8f53490 100755 --- a/src/qemu.sh +++ b/src/qemu.sh | |||
@@ -61,5 +61,5 @@ sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us \ | |||
61 | -net nic,vlan=0,model=virtio,macaddr=$MAC \ | 61 | -net nic,vlan=0,model=virtio,macaddr=$MAC \ |
62 | ${USE_NET:+ -net "$NET"} \ | 62 | ${USE_NET:+ -net "$NET"} \ |
63 | -rtc base=localtime \ | 63 | -rtc base=localtime \ |
64 | -hda "$disk" \ | 64 | -drive index=0,media=disk,format=raw,file="$disk" \ |
65 | "$@" | 65 | "$@" |