On 16/10/2017 19:17, Eduardo Habkost wrote: >> Should (or could) "-M none" be changed in a backwards-compatible way to >> allow such preconfiguration? For example >> >> qemu -M none -monitor stdio >> (qemu) machine-set-options pc,accel=kvm >> (qemu) c > Sounds like an interesting idea. It would require ensuring it's > really safe to destroy current_machine/accel (and other global > state) and replace them with another object on the fly (which is > probably a nice goal by itself).
It is but, alternatively, you could delay creating the "none" machine until the last second. The important part, in my opinion, is having a good command-line interface that we can freeze even if the implementation below leaves something to be desired. Paolo