diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2023-10-23 09:38:00 +0100 |
---|---|---|
committer | David Woodhouse <dwmw@amazon.co.uk> | 2024-02-02 16:23:48 +0000 |
commit | 481434f99e5293cadf0f056bef4afbbefd7b0bb3 (patch) | |
tree | 22016bb7d9d43232b4121f9d16d2a7b52dbb57c3 /include/net | |
parent | 75942eea59cbba748f87be86a7e3d38144330837 (diff) |
net: remove qemu_show_nic_models(), qemu_find_nic_model()
These old functions can be removed now too. Let net_param_nic() print
the full set of network devices directly, and also make it note that a
list more specific to this platform/config will be available by using
'-nic model=help' instead.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/net.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/net.h b/include/net/net.h index 00ee1af7ab..588ee55f28 100644 --- a/include/net/net.h +++ b/include/net/net.h @@ -203,9 +203,6 @@ void qemu_set_vnet_hdr_len(NetClientState *nc, int len); int qemu_set_vnet_le(NetClientState *nc, bool is_le); int qemu_set_vnet_be(NetClientState *nc, bool is_be); void qemu_macaddr_default_if_unset(MACAddr *macaddr); -int qemu_show_nic_models(const char *arg, const char *const *models); -int qemu_find_nic_model(NICInfo *nd, const char * const *models, - const char *default_model); /** * qemu_find_nic_info: Obtain NIC configuration information * @typename: Name of device object type |