qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1719689] [NEW] [feature request] add flag to treat war


From: Erich Spaker
Subject: [Qemu-devel] [Bug 1719689] [NEW] [feature request] add flag to treat warnings as errors
Date: Tue, 26 Sep 2017 17:04:55 -0000

Public bug reported:

Since booting could potentially take a lot of time and warnings are
likely to indicate that something is wrong, it would be useful to have a
command line flag which would abort the boot if there are any warnings.

An example might be network configuration. The following output most
likely indicates that there is something the user has to fix before
starting and being able to use the guest os.

Warning: hub port hub0port0 has no peer
Warning: vlan 0 with no nics
Warning: netdev hub0port0 has no peer
Warning: requested NIC (anonymous, model vitrio-net-device) was not created 
(not supported by this machine?)

Ideally, there would be an option the user could pass which would cause
qemu to print these warnings then exit, rather than boot the kernel.

Alternatively, or additionally, a dry run option would be helpful for
the same purpose: making sure qemu get to the booting the kernel stage
with everything in working order so that you do not have to wait for the
kernel to boot and then shut down while debugging things like networking
(things which can be debugged (at least partially) without booting, or
trying to boot, the guest os).

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: feature-request

** Summary changed:

- add flag to abort boot after any warnings
+ [feature request] add flag to treat warnings as errors

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

Title:
  [feature request] add flag to treat warnings as errors

Status in QEMU:
  New

Bug description:
  Since booting could potentially take a lot of time and warnings are
  likely to indicate that something is wrong, it would be useful to have
  a command line flag which would abort the boot if there are any
  warnings.

  An example might be network configuration. The following output most
  likely indicates that there is something the user has to fix before
  starting and being able to use the guest os.

  Warning: hub port hub0port0 has no peer
  Warning: vlan 0 with no nics
  Warning: netdev hub0port0 has no peer
  Warning: requested NIC (anonymous, model vitrio-net-device) was not created 
(not supported by this machine?)

  Ideally, there would be an option the user could pass which would
  cause qemu to print these warnings then exit, rather than boot the
  kernel.

  Alternatively, or additionally, a dry run option would be helpful for
  the same purpose: making sure qemu get to the booting the kernel stage
  with everything in working order so that you do not have to wait for
  the kernel to boot and then shut down while debugging things like
  networking (things which can be debugged (at least partially) without
  booting, or trying to boot, the guest os).

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



reply via email to

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