source: mainline/contrib/conf/ia32-qe.sh@ 4da8fdb

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 4da8fdb was 4da8fdb, checked in by Jan Vesely <jano.vesely@…>, 12 years ago

ia32: Enable sb16 in qemu startup script

Increase memory to 64M, the ia32 rd image alone is 35M.

  • Property mode set to 100755
File size: 505 bytes
Line 
1#!/bin/sh
2
3if [ -z "${QEMU_BINARY}" ] ; then
4 QEMU_BINARY="`which --tty-only qemu 2> /dev/null`"
5fi
6
7if [ -z "${QEMU_BINARY}" ] ; then
8 QEMU_BINARY="`which --tty-only qemu-system-i386 2> /dev/null`"
9fi
10
11if [ -z "${QEMU_BINARY}" ] ; then
12 echo "QEMU binary not found"
13fi
14
15DISK_IMG=hdisk.img
16
17# Create a disk image if it does not exist
18if [ ! -f "$DISK_IMG" ]; then
19 tools/mkfat.py 1048576 uspace/dist/data "$DISK_IMG"
20fi
21
22"${QEMU_BINARY}" "$@" -m 64 -hda "$DISK_IMG" -cdrom image.iso -boot d -soundhw sb16
Note: See TracBrowser for help on using the repository browser.