qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1884507] Re: 'none' machine should use 'none' display option


From: Philippe Mathieu-Daudé
Subject: [Bug 1884507] Re: 'none' machine should use 'none' display option
Date: Wed, 24 Jun 2020 09:05:39 -0000

> I think you made a wrong assumption here. "-display" is
> about the GUI backend that should be used. "-M" is about
> the emulated hardware. The emulated hardware options
> should never influence the host backend options.

Aright. What confuses me is having serial0/parallel0 chardevs
initialized when using the none-machine. I realized when
looking at your suggestion in comment #1 that the chardevs
(among other hardware related things) are initialized in
qemu_init().

I started testing using:

  bool is_none_machine = !strcmp(machine_class->name,
                                 MACHINE_TYPE_NAME("none"));

and disabling blocks of code with:

  if (!is_none_machine) {
      ...
  }

then planned to update this ticket description but you beat
me. I'll open a different issue.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1884507

Title:
  'none' machine should use 'none' display option

Status in QEMU:
  Invalid

Bug description:
  As the 'none' machine doesn't have any peripheral (except CPU cores)
  it is pointless to start a display. 

  '-M none' should imply '-display none'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1884507/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]