[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 09/12] vl: Replace DT_NOGRAPHIC with MachineStat
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH 09/12] vl: Replace DT_NOGRAPHIC with MachineState field |
Date: |
Thu, 12 Nov 2015 17:44:02 -0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Nov 12, 2015 at 10:48:12AM +0100, Paolo Bonzini wrote:
>
>
> On 11/11/2015 20:09, Eduardo Habkost wrote:
> > All DisplayType values are just UI options that don't affect any
> > hardware emulation code, except for DT_NOGRAPHIC. Replace
> > DT_NOGRAPHIC with DT_NONE plus a new MachineState.nographic
> > field, so hardware emulation code don't need to use the
> > display_type variable.
> >
> > Cc: Michael Walle <address@hidden>
> > Cc: Blue Swirl <address@hidden>
> > Cc: Mark Cave-Ayland <address@hidden>
> > Signed-off-by: Eduardo Habkost <address@hidden>
>
> 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?
--
Eduardo
- [Qemu-devel] [PATCH 00/12] vl: graphics stubs + #ifdef cleanup, eliminate some global vars, Eduardo Habkost, 2015/11/11
- [Qemu-devel] [PATCH 01/12] vl: Add DT_COCOA DisplayType value, Eduardo Habkost, 2015/11/11
- [Qemu-devel] [PATCH 03/12] stubs: curses_display_init() stub, Eduardo Habkost, 2015/11/11
- [Qemu-devel] [PATCH 02/12] stubs: Add VNC initialization stubs, Eduardo Habkost, 2015/11/11
- [Qemu-devel] [PATCH 04/12] stubs: SDL initialization stubs, Eduardo Habkost, 2015/11/11
- [Qemu-devel] [PATCH 06/12] stubs: gtk_display_init() stub, Eduardo Habkost, 2015/11/11
- [Qemu-devel] [PATCH 07/12] stubs: spice initialization stubs, Eduardo Habkost, 2015/11/11
- [Qemu-devel] [PATCH 05/12] stubs: cocoa_display_init() stub, Eduardo Habkost, 2015/11/11
- [Qemu-devel] [PATCH 09/12] vl: Replace DT_NOGRAPHIC with MachineState field, Eduardo Habkost, 2015/11/11
- Re: [Qemu-devel] [PATCH 09/12] vl: Replace DT_NOGRAPHIC with MachineState field, Peter Maydell, 2015/11/13
- Re: [Qemu-devel] [PATCH 09/12] vl: Replace DT_NOGRAPHIC with MachineState field, Paolo Bonzini, 2015/11/13
- Re: [Qemu-devel] [PATCH 09/12] vl: Replace DT_NOGRAPHIC with MachineState field, Eduardo Habkost, 2015/11/13
[Qemu-devel] [PATCH 08/12] milkymist: Move DT_NOGRAPHIC check outside milkymist_tmu2_create(), Eduardo Habkost, 2015/11/11
[Qemu-devel] [PATCH 11/12] vl: Move DisplayType typedef to vl.c, Eduardo Habkost, 2015/11/11
[Qemu-devel] [PATCH 10/12] vl: Make display_type a local variable, Eduardo Habkost, 2015/11/11
[Qemu-devel] [PATCH 12/12] vl: Make display_remote a local variable, Eduardo Habkost, 2015/11/11
Re: [Qemu-devel] [PATCH 00/12] vl: graphics stubs + #ifdef cleanup, eliminate some global vars, Paolo Bonzini, 2015/11/12