Re: [PATCH] hw/pci: Fix crash when running QEMU with "-nic model=rocker"

2020-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2020 at 07:24:24PM +0200, Paolo Bonzini wrote: > On 09/06/20 19:21, Laurent Vivier wrote: > > Le 27/05/2020 à 17:31, Thomas Huth a écrit : > >> QEMU currently aborts when being started with "-nic model=rocker" or with > >> "-net nic,model=rocker". This happens because the

Re: [PATCH] hw/pci: Fix crash when running QEMU with "-nic model=rocker"

2020-06-09 Thread Paolo Bonzini
On 09/06/20 19:21, Laurent Vivier wrote: > Le 27/05/2020 à 17:31, Thomas Huth a écrit : >> QEMU currently aborts when being started with "-nic model=rocker" or with >> "-net nic,model=rocker". This happens because the "rocker" device is not >> a normal NIC but a switch, which has different

Re: [PATCH] hw/pci: Fix crash when running QEMU with "-nic model=rocker"

2020-06-09 Thread Laurent Vivier
Le 27/05/2020 à 17:31, Thomas Huth a écrit : > QEMU currently aborts when being started with "-nic model=rocker" or with > "-net nic,model=rocker". This happens because the "rocker" device is not > a normal NIC but a switch, which has different properties. Thus we should > only consider real NIC

Re: [PATCH] hw/pci: Fix crash when running QEMU with "-nic model=rocker"

2020-05-27 Thread Paolo Bonzini
On 27/05/20 17:31, Thomas Huth wrote: > QEMU currently aborts when being started with "-nic model=rocker" or with > "-net nic,model=rocker". This happens because the "rocker" device is not > a normal NIC but a switch, which has different properties. Thus we should > only consider real NIC devices

[PATCH] hw/pci: Fix crash when running QEMU with "-nic model=rocker"

2020-05-27 Thread Thomas Huth
QEMU currently aborts when being started with "-nic model=rocker" or with "-net nic,model=rocker". This happens because the "rocker" device is not a normal NIC but a switch, which has different properties. Thus we should only consider real NIC devices for "-nic" and "-net". These devices can be