common icon indicating copy to clipboard operation
common copied to clipboard

start_qemu.sh: also allow graphics emulation

Open jurobystricky opened this issue 6 years ago • 1 comments

Currently the script explicitly disables support for graphics, via:

...
    -vga none -nographic \
...

However, there does not seem to be any particularly good reason not to allow graphics via something like

    -vga std \

The user/developer should be able to chose the type of emulation via a command line option (something like --enable-graphics). Or there could be two different scripts.

I tested this with an image I mixed:

 "Bundles": [
  "os-core",
  "os-core-update",
  "desktop-autostart",
  "kernel-kvm",
  "sysadmin-basic"
 ],
...

and manged to boot the resulted image (with the modified script) into a desktop environment.

jurobystricky avatar Jun 25 '19 20:06 jurobystricky

@jurobystricky I would prefer keeping the single script and adding the ability to choose whether to boot the VM with graphics or not.

The script doesn't have command line options at the moment; it just has the one positional argument, and will read VMN from the environment. IIRC, that acronym stands for "virtual machine number". I am open to adding command line options, but of course, it would be nice to preserve backwards compatibility for current users. Given that the script is pretty basic at the moment, backwards compatibility would be straightforward to support.

phmccarty avatar Jun 28 '19 05:06 phmccarty