qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Fix the "-nic help" option
@ 2022-11-10 12:52 Thomas Huth
  2022-11-10 12:52 ` [PATCH v2 1/3] net: Move the code to collect available NIC models to a separate function Thomas Huth
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Thomas Huth @ 2022-11-10 12:52 UTC (permalink / raw)
  To: qemu-devel, Jason Wang
  Cc: Michael S. Tsirkin, pbonzini, Marcel Apfelbaum, Claudio Fontana,
	Alex Bennée

Running QEMU with "-nic help" used to work in QEMU 5.2 and earlier
versions, but since QEMU 6.0 it just complains that "help" is not
a valid value here. This patch series fixes this problem and also
extends the help output here to list the available NIC models, too.

v2: 
 - Add function comment in the first patch
 - Add Reviewed-by in the third patch

Thomas Huth (3):
  net: Move the code to collect available NIC models to a separate
    function
  net: Restore printing of the help text with "-nic help"
  net: Replace "Supported NIC models" with "Available NIC models"

 include/net/net.h | 14 +++++++++++++
 hw/pci/pci.c      | 29 +--------------------------
 net/net.c         | 50 ++++++++++++++++++++++++++++++++++++++++++++---
 3 files changed, 62 insertions(+), 31 deletions(-)

-- 
2.31.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-16  7:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-10 12:52 [PATCH v2 0/3] Fix the "-nic help" option Thomas Huth
2022-11-10 12:52 ` [PATCH v2 1/3] net: Move the code to collect available NIC models to a separate function Thomas Huth
2022-11-10 12:52 ` [PATCH v2 2/3] net: Restore printing of the help text with "-nic help" Thomas Huth
2022-11-10 12:52 ` [PATCH v2 3/3] net: Replace "Supported NIC models" with "Available NIC models" Thomas Huth
2022-12-15 15:23 ` [PATCH v2 0/3] Fix the "-nic help" option Thomas Huth
2022-12-16  7:38   ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).