[PATCH 0/5] Use MachineClass->default_nic in more machines

Thomas Huth posted 5 patches 11 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230523110435.1375774-1-thuth@redhat.com
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Peter Maydell <peter.maydell@linaro.org>, Helge Deller <deller@gmx.de>, Xiaojuan Yang <yangxiaojuan@loongson.cn>, Song Gao <gaosong@loongson.cn>, Max Filippov <jcmvbkbc@gmail.com>
hw/alpha/dp264.c    | 4 +++-
hw/arm/virt.c       | 4 +++-
hw/hppa/machine.c   | 4 +++-
hw/loongarch/virt.c | 4 +++-
hw/xtensa/virt.c    | 9 ++++++---
5 files changed, 18 insertions(+), 7 deletions(-)
[PATCH 0/5] Use MachineClass->default_nic in more machines
Posted by Thomas Huth 11 months, 2 weeks ago
These patches are required for running more tests with "make check"
on builds that use "--without-default-devices". By marking the
default NIC in the generic MachineClass, the main code can decide
whether the NIC is available in the binary or not, so the instantiation
can be skipped if it has not been compiled in.

See https://lore.kernel.org/qemu-devel/20230512124033.502654-5-thuth@redhat.com/
and the other patches in that series for more information.

Thomas Huth (5):
  hw/hppa: Use MachineClass->default_nic in the hppa machine
  hw/alpha: Use MachineClass->default_nic in the alpha machine
  hw/arm: Use MachineClass->default_nic in the virt machine
  hw/loongarch64: Use MachineClass->default_nic in the virt machine
  hw/xtensa: Use MachineClass->default_nic in the virt machine

 hw/alpha/dp264.c    | 4 +++-
 hw/arm/virt.c       | 4 +++-
 hw/hppa/machine.c   | 4 +++-
 hw/loongarch/virt.c | 4 +++-
 hw/xtensa/virt.c    | 9 ++++++---
 5 files changed, 18 insertions(+), 7 deletions(-)

-- 
2.31.1
Re: [PATCH 0/5] Use MachineClass->default_nic in more machines
Posted by Richard Henderson 11 months, 2 weeks ago
On 5/23/23 04:04, Thomas Huth wrote:
> These patches are required for running more tests with "make check"
> on builds that use "--without-default-devices". By marking the
> default NIC in the generic MachineClass, the main code can decide
> whether the NIC is available in the binary or not, so the instantiation
> can be skipped if it has not been compiled in.
> 
> Seehttps://lore.kernel.org/qemu-devel/20230512124033.502654-5-thuth@redhat.com/
> and the other patches in that series for more information.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
Re: [PATCH 0/5] Use MachineClass->default_nic in more machines
Posted by Philippe Mathieu-Daudé 11 months, 2 weeks ago
On 23/5/23 13:04, Thomas Huth wrote:
> These patches are required for running more tests with "make check"
> on builds that use "--without-default-devices". By marking the
> default NIC in the generic MachineClass, the main code can decide
> whether the NIC is available in the binary or not, so the instantiation
> can be skipped if it has not been compiled in.
> 
> See https://lore.kernel.org/qemu-devel/20230512124033.502654-5-thuth@redhat.com/
> and the other patches in that series for more information.
> 
> Thomas Huth (5):
>    hw/hppa: Use MachineClass->default_nic in the hppa machine
>    hw/alpha: Use MachineClass->default_nic in the alpha machine
>    hw/arm: Use MachineClass->default_nic in the virt machine
>    hw/loongarch64: Use MachineClass->default_nic in the virt machine
>    hw/xtensa: Use MachineClass->default_nic in the virt machine

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>