boot qemu harness directly to graphical mode

This commit is contained in:
K. Lange 2018-08-13 11:15:18 +09:00
parent a8ead1f0b0
commit 3d584cb55b
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@ qemu = subprocess.Popen([
# Add a VGA card with 32mb of video RAM
'-device', 'VGA,id=video0,vgamem_mb=32',
# Set the fwcfg flag so our userspace app recognizes us
'-fw_cfg','name=opt/org.toaruos.displayharness,string=1'
'-fw_cfg','name=opt/org.toaruos.displayharness,string=1',
# Boot directly to graphical mode
'-fw_cfg','name=opt/org.toaruos.bootmode,string=normal'
])
# Give QEMU some time to start up and create a window.