Re: Crash when running Qemu.

2020-06-29 Thread Philippe Mathieu-Daudé
On 6/28/20 7:05 PM, Peter Maydell wrote: > On Sun, 28 Jun 2020 at 17:46, Jean-Christophe DUBOIS > wrote: >> >> Le 28/06/2020 à 16:38, Peter Maydell a écrit : >>> On Sun, 28 Jun 2020 at 11:56, Jean-Christophe DUBOIS >>> wrote: jcd@jcd-UX305CA:~/Projects/µCOS/work$ ../../qemu/qemu/arm-sof

Re: Crash when running Qemu.

2020-06-28 Thread Jean-Christophe DUBOIS
I am not sure how it could influence the fact that I experience this bug and others not necessarily but for what it is worth, I am using gcc 10.0.1 to compile Qemu. I might try to use a previous version to check if it changes the overall behavior. JC Le 28/06/2020 à 18:32, Jean-Christophe D

Re: Crash when running Qemu.

2020-06-28 Thread Peter Maydell
On Sun, 28 Jun 2020 at 17:46, Jean-Christophe DUBOIS wrote: > > Le 28/06/2020 à 16:38, Peter Maydell a écrit : > > On Sun, 28 Jun 2020 at 11:56, Jean-Christophe DUBOIS > > wrote: > >> jcd@jcd-UX305CA:~/Projects/µCOS/work$ > >> ../../qemu/qemu/arm-softmmu/qemu-system-arm -machine mcimx6ul-evk -m >

Re: Crash when running Qemu.

2020-06-28 Thread Jean-Christophe DUBOIS
By reverting the recent (june 23) commit series on PCA9552 I can run Qemu again. Here is the git revert command I did. jcd@jcd-UX305CA:~/Projects/qemu/qemu$ git revert 8208335b9539e7b5aa4702b36e2f9a8abd704079..586f495b1e78c27e141ff432dd971eb41866fb80 Regards JC Le 28/06/2020 à 17:57, Jean-

Re: Crash when running Qemu.

2020-06-28 Thread Jean-Christophe DUBOIS
When ran from valgrind, qemu does not crash but the following output is returned. valgrind --track-origins=yes ../../qemu/qemu/arm-softmmu/qemu-system-arm -machine mcimx6ul-evk -m 128M -display none -serial stdio -kernel ./OS.elf ==77479== Memcheck, a memory error detector ==77479== Copyright

Re: Crash when running Qemu.

2020-06-28 Thread Peter Maydell
On Sun, 28 Jun 2020 at 11:56, Jean-Christophe DUBOIS wrote: > Since the last pull I did this week end on the qemu git tree (master > branch) I am unable to "start" qemu anymore (It was working OK from git > master previously). > > Traces are provided bellow. > > Am I the only one to get this behav

Crash when running Qemu.

2020-06-28 Thread Jean-Christophe DUBOIS
Hi, Since the last pull I did this week end on the qemu git tree (master branch) I am unable to "start" qemu anymore (It was working OK from git master previously). Traces are provided bellow. Am I the only one to get this behavior? JC jcd@jcd-UX305CA:~/Projects/µCOS/work$ ../../qemu/qemu

[PULL v2 47/58] hw/pci: Fix crash when running QEMU with "-nic model=rocker"

2020-06-12 Thread Michael S. Tsirkin
From: 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". Thes

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

2020-06-09 Thread Michael S. Tsirkin
From: 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". Thes

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 "rocker

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 properti

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 de

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 f

[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 ide