~sheosi/helenos/lua

« back to all changes in this revision

Viewing changes to contrib/conf/ia32-qe.sh

  • Committer: Sergio Tortosa (sheosi)
  • Date: 2013-12-22 14:13:23 UTC
  • mfrom: (2032.1.12 mainline)
  • Revision ID: sertorbe@gmail.com-20131222141323-gbiqm4j2w9sbjty5
MergedĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
if [ -z "${QEMU_BINARY}" ] ; then
4
 
        QEMU_BINARY="`which --tty-only qemu 2> /dev/null`"
5
 
fi
6
 
 
7
 
if [ -z "${QEMU_BINARY}" ] ; then
8
 
        QEMU_BINARY="`which --tty-only qemu-system-i386 2> /dev/null`"
9
 
fi
10
 
 
11
 
if [ -z "${QEMU_BINARY}" ] ; then
12
 
        echo "QEMU binary not found"
13
 
fi
14
 
 
15
 
DISK_IMG=hdisk.img
16
 
 
17
 
# Create a disk image if it does not exist
18
 
if [ ! -f "$DISK_IMG" ]; then
19
 
        tools/mkfat.py 1048576 uspace/dist/data "$DISK_IMG"
20
 
fi
21
 
 
22
 
"${QEMU_BINARY}" "$@" -m 64 -hda "$DISK_IMG" -cdrom image.iso -boot d -soundhw sb16