qemu-e2k/hw/loongarch
Thomas Huth b697a48924 hw: Simplify calls to pci_nic_init_nofail()
pci_nic_init_nofail() calls qemu_find_nic_model(), and this function
sets nd->model = g_strdup(default_model) if it has not been initialized
yet. So we don't have to set nd->model to the default_nic in the
calling sites.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-07-08 07:24:38 +03:00
..
acpi-build.c hw/loongarch: Supplement cpu topology arguments 2023-06-16 17:58:46 +08:00
fw_cfg.c hw/loongarch: Support fw_cfg dma function 2022-09-19 20:01:40 +08:00
fw_cfg.h hw/loongarch: Add fw_cfg table support 2022-07-19 22:55:10 +05:30
Kconfig hw/loongarch: Add numa support 2023-06-16 17:58:46 +08:00
meson.build hw/loongarch: Rename file 'loongson3.XXX' to 'virt.XXX' 2022-07-29 15:07:55 -07:00
virt.c hw: Simplify calls to pci_nic_init_nofail() 2023-07-08 07:24:38 +03:00