> > Can you add a QOM property too, so that "-machine graphics=yes|no" can > > be used? > > I can, but I would like to clarify the expected semantics. With > the -machine option, we would have: > > * -display, which affects only the display UI. > * -nographic, which affects: > * The display UI; > * Hardware emulation; > * serial/paralllel/virtioconsole output redirection. > * -machine graphics=no, which would affect only hardware > emulation. > > Is that correct?
Yes. In the case of PC, it might also add "-device sga" unless -nodefaults (or "-device sga") is specified. But that's left for later. Paolo