Logging program execution artifacts in TCG

2021-09-29 Thread Arnabjyoti Kalita
Hello all, I have a requirement to record a few artifacts when I start a program execution in the TCG mode of QEMU. I use 'nochain,exec' debug flags when starting QEMU in TCG mode. This is for the x86_64 host and target architectures. I am using QEMU version 5.0.1. 1. sequence of memory instructi

Re: qemu: fatal: Lockup: can't escalate 3 to HardFault (current priority -1)

2021-09-29 Thread abhijeet inamdar
I tried to add -d in_asm,out_asm,guest_errors it gives out as follows: PROLOGUE: [size=45] 0x70849000: 55 pushq%rbp 0x70849001: 53 pushq%rbx 0x70849002: 41 54pushq%r12 0x70849004: 41 55

Re: riscv64 system emulation maximum core count with virt machine

2021-09-29 Thread Rahul Pathak
If you want to boot with more than 8 harts then you also need to increase the CONFIG_NR_CPUS in the kernel. Along with change in QEMU - VIRT_CPUS_MAX in "include/hw/riscv/virt.h" But, the limit of 8 is low and should be increased. Don't know the reason why its 8. On Sep 22 2021, at 10:19 pm, Ma

Re: qemu: fatal: Lockup: can't escalate 3 to HardFault (current priority -1)

2021-09-29 Thread Peter Maydell
On Wed, 29 Sept 2021 at 16:24, abhijeet inamdar wrote: > > I tried to add -d in_asm,out_asm,guest_errors it gives out as follows: 'int,exec,cpu' are probably also helpful. > [New Thread 0x7fffe700 (LWP 44283)] > > IN: > 0x: andeqr0, r0, r0 We started

Re: qemu: fatal: Lockup: can't escalate 3 to HardFault (current priority -1)

2021-09-29 Thread abhijeet inamdar
But this very ELF file runs on the target(real hardware) perfectly. So how different should it be to emulate? Thank you, Abhijeet. On Wed, Sep 29, 2021 at 10:31 PM Peter Maydell wrote: > On Wed, 29 Sept 2021 at 16:24, abhijeet inamdar > wrote: > > > > I tried to add -d in_asm,out_asm,guest_err