[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] Fix the "-nic help" option
From: |
Thomas Huth |
Subject: |
[PATCH 0/3] Fix the "-nic help" option |
Date: |
Fri, 4 Nov 2022 13:57:02 +0100 |
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.
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 | 1 +
hw/pci/pci.c | 29 +-------------------------
net/net.c | 52 ++++++++++++++++++++++++++++++++++++++++++++---
3 files changed, 51 insertions(+), 31 deletions(-)
--
2.31.1