diff mbox series

[09/14] hw/ppc/Kconfig: e500 based machines require virtio-net-pci device

Message ID 20190316200818.8265-10-philmd@redhat.com
State New
Headers show
Series hw/Kconfig: Fixes when running ./configure --without-default-devices | expand

Commit Message

Philippe Mathieu-Daudé March 16, 2019, 8:08 p.m. UTC
This fixes when configuring with --without-default-devices:

  $ qemu-system-ppc64 -bios /dev/null -M ppce500
  qemu-system-ppc64: Unsupported NIC model: virtio-net-pci

And:

  $ qemu-system-ppc64 -bios /dev/null -M mpc8544ds
  qemu-system-ppc64: Unsupported NIC model: virtio-net-pci

Fixes: 98bd1db99f
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 hw/ppc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

David Gibson March 17, 2019, 11:25 p.m. UTC | #1
On Sat, Mar 16, 2019 at 09:08:13PM +0100, Philippe Mathieu-Daudé wrote:
> This fixes when configuring with --without-default-devices:
> 
>   $ qemu-system-ppc64 -bios /dev/null -M ppce500
>   qemu-system-ppc64: Unsupported NIC model: virtio-net-pci
> 
> And:
> 
>   $ qemu-system-ppc64 -bios /dev/null -M mpc8544ds
>   qemu-system-ppc64: Unsupported NIC model: virtio-net-pci
> 
> Fixes: 98bd1db99f
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Acked-by: David Gibson <david@gibson.dropbear.id.au>

> ---
>  hw/ppc/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
> index 2f2b21097b..8a2772ee6e 100644
> --- a/hw/ppc/Kconfig
> +++ b/hw/ppc/Kconfig
> @@ -103,6 +103,7 @@ config E500
>      select PLATFORM_BUS
>      select PPCE500_PCI
>      select SERIAL
> +    select VIRTIO
>  
>  config VIRTEX
>      bool
diff mbox series

Patch

diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
index 2f2b21097b..8a2772ee6e 100644
--- a/hw/ppc/Kconfig
+++ b/hw/ppc/Kconfig
@@ -103,6 +103,7 @@  config E500
     select PLATFORM_BUS
     select PPCE500_PCI
     select SERIAL
+    select VIRTIO
 
 config VIRTEX
     bool