@ECHO OFF REM ############################################################################## REM (c) Eric Lassauge - January 2013 REM REM REM ############################################################################## REM This program is free software: you can redistribute it and/or modify REM it under the terms of the GNU General Public License as published by REM the Free Software Foundation, either version 3 of the License, or REM (at your option) any later version. REM REM This program is distributed in the hope that it will be useful, REM but WITHOUT ANY WARRANTY; without even the implied warranty of REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the REM GNU General Public License for more details. REM REM You should have received a copy of the GNU General Public License REM along with this program. If not, see REM ############################################################################## REM Exemple BAT script for starting qemu-system-i386.exe on windows host with a REM small Linux disk image containing a 2.6.20 Linux kernel, X11 and various utilities REM to test QEMU (See http://wiki.qemu.org/Testing) REM REM Start qemu on windows. REM SDL_VIDEODRIVER=directx is faster than windib. But keyboard may not work well. SET SDL_VIDEODRIVER=windib REM QEMU_AUDIO_DRV=dsound or fmod or sdl or none can be used. See qemu -audio-help. REM REM dsound seems to be broken now (at least in my build SET QEMU_AUDIO_DRV=none REM REM SDL_AUDIODRIVER=waveout or dsound can be used. Only if QEMU_AUDIO_DRV=sdl. SET SDL_AUDIODRIVER=dsound REM REM QEMU_AUDIO_LOG_TO_MONITOR=1 displays log messages in QEMU monitor. SET QEMU_AUDIO_LOG_TO_MONITOR=0 REM REM ################################################ REM REM # Boot disk image REM REM # Adapt "-k fr" to you keyboard REM REM # X11, nic and soundhw were tested and are working! REM REM # try madplay 20thfull.mp2 or xinit REM REM # Added '-usb -usbdevice tablet' for Seamless mouse REM REM ################################################ REM START qemu-system-i386.exe -L Bios -vga std ^ REM -rtc base=localtime,clock=host ^ REM -cdrom .\debian-buster.qcow2 -m 2048 ^ REM −net nic,model=virtio ^ REM −net user,net=192.168.101.0/24,hostfwd=tcp::8022−:22,hostfwd=tcp::8001−:8000 START qemu-system-i386.exe -L Bios -vga std -m 2048 -boot menu=on,splash-time=3000 -rtc base=localtime,clock=host -k it -hda .\solab.iso -net nic,model=virtio -net user,net=192.168.101.0/24,hostfwd=tcp::10022-:22