Re: [PATCH 4/5] hw/loongarch64: Use MachineClass->default_nic in the virt machine

2023-05-25 Thread Song Gao
在 2023/5/23 下午7:04, Thomas Huth 写道: Mark the default NIC via the new MachineClass->default_nic setting so that the machine-defaults code in vl.c can decide whether the default NIC is usable or not (for example when compiling with the "--without-default-devices" configure switch). Signed-off-b

[PATCH 4/5] hw/loongarch64: Use MachineClass->default_nic in the virt machine

2023-05-23 Thread Thomas Huth
Mark the default NIC via the new MachineClass->default_nic setting so that the machine-defaults code in vl.c can decide whether the default NIC is usable or not (for example when compiling with the "--without-default-devices" configure switch). Signed-off-by: Thomas Huth --- hw/loongarch/virt.c