On 11/25/09 19:01, H. Peter Anvin wrote:
Gerd Hoffmann wrote:

You can stick it into a config file[1] like this:

[chardev "debuglog"]
backend = "file"
path = "/path/to/debug.log"

[device]
driver = "isa-debugcon"
chardev = "debuglog"

Then use "qemu -readconfig $file".


Great... at least in my opinion, one of the things that makes Qemu so
much easier to use than Bochs is that one has a comprehensive (and
comprehensable) command line and don't have to set up a configuration
file for every trivial little thing. It's a good thing for long-living
virtualization instances, but I would be sad if the command line will
end up being neglected.

You can happily mixup things as you like. Use pure command line. Use pure config file (well, at least is that the plan, it doesn't fully work yet). Mix cmd line switches and config file. Reading multiple config files works just fine too, so you can split your vm config into multiple parts and enable/disable parts by reading/not reading the file in question ...

cheers,
  Gerd


Reply via email to