qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: assert in qemu under tcg in an smp case


From: Daniel Henrique Barboza
Subject: Re: assert in qemu under tcg in an smp case
Date: Tue, 6 Jul 2021 13:03:00 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0



On 6/22/21 6:49 PM, Ivan Warren wrote:


Can you share the command line you used, host arch, host OS and so on?


Sure thing !

Here goes nothing : (AIX is already installed on the AIX-ROOT.IMG1.RAW file - 
the fact that it is raw was just a performance test.. but same thing with 
qcow2).

It is booting just fine if I comment out the g_assert() statement and rebuild 
or go single processor.

(I'm hiding the S/N because it is an actual machine - another test)

PS : The system has been brought up to SP2 - but same symptoms.

PPS : netdev xpq01nic01 is a predefined TAP device connected to an OpenVswitch 
bridge.

qemu-system-ppc64 \
     -cpu power8 \
     -smp sockets=1,cores=8 \
     -machine pseries,host-serial=<HIDDEN>,host-model=8286 \
     -cdrom AIX_v7.2_Install_7200-05-00-2037_DVD_1_of_2_112020_LCD8223014.iso \
     -drive 
file=AIX-ROOT.IMG1.RAW,if=none,id=disk0,format=raw,cache=none,discard=unmap,detect-zeroes=unmap
 \
     -drive 
file=AIX-DATA-0.IMG,if=none,id=disk1,format=raw,cache=none,discard=unmap,detect-zeroes=unmap
 \
     -device virtio-scsi-pci \
     -device scsi-hd,drive=disk0,scsi-id=0 \
     -device scsi-hd,drive=disk1,scsi-id=1 \
     -object rng-random,filename=/dev/urandom,id=rng0 \
     -device spapr-rng,rng=rng0 \
     -netdev tap,ifname=xpq01nic01,script=no,downscript=no,id=n0 \
     -device spapr-vlan,netdev=n0,mac=52:54:00:12:00:02 \
     -m 4G \
     -accel tcg,thread=multi \
     -prom-env boot-command='boot disk:' \
     -nographic \
     -vga none \
     -serial mon:stdio


Can you try the same test but with this '-machine' args:


-machine 
pseries,host-serial=<HIDDEN>,host-model=8286,cap-cfpc=workaround,cap-sbbc=workaround,cap-ibs=broken
 \


and


-machine 
pseries-2.11,host-serial=<HIDDEN>,host-model=8286,cap-cfpc=workaround,cap-sbbc=workaround,cap-ibs=broken
 \


It'll probably break in the same way since  you're using TCG, but people
inside IBM are able to run guests with these machine caps.


Also, did you attempt to run it using -accel kvm? The problem you're
seeing is TCG specific code, so seeing if KVM acceleration works would
be a good test.



Daniel






--Ivan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]