From 481434f99e5293cadf0f056bef4afbbefd7b0bb3 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 23 Oct 2023 09:38:00 +0100 Subject: 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 Reviewed-by: Thomas Huth --- include/net/net.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/net/net.h b/include/net/net.h index 00ee1af..588ee55 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 -- cgit v1.1