not able to step instructions when debugging linux kernel

2020-08-22 Thread ns99310
Hello, I've been trying to debug the linux kernel with the help of QEMU, and I'm trying to step through individual assembly instructions and lines. Although whenever I try it, I don't step one instruction/line further as expected, but land in some unknown for me handlers. The following terminal

Re: Display in qemu issue

2020-08-22 Thread Peter Maydell
On Wed, 19 Aug 2020 at 22:23, Steven Walker wrote: > > I am using qemu 4.2-3 on linux mint 20. I am trying to set up a vm for > freedos. When I had this setup on 32 bit, I was using an sdl display...but > now it seems to go to a vnc server on 127.0.0.1:5900 and then it runs the > installation i

Re: How does QEMU in TCG mode handle interrupts ?

2020-08-22 Thread Peter Maydell
On Sat, 22 Aug 2020 at 09:42, Arnabjyoti Kalita wrote: > I am running QEMU-3.0.0 in TCG mode, and my QEMU as well as TCG target is > x86_64 architecture. > > What I am trying to do is inject an I/O interrupt in the middle of a > translation block. You can't. QEMU will only ever check for and ta

Re: Display in qemu issue

2020-08-22 Thread Narcis Garcia via
Replace: -display sdl By: -display gtk Narcis Garcia El 19/8/20 a les 23:23, Steven Walker ha escrit: > I am using qemu 4.2-3 on linux mint 20. I am trying to set up a vm for > freedos. When I had this setup on 32 bit, I was using an sdl > display...but now it seems to go to a vnc server on 127.0

How does QEMU in TCG mode handle interrupts ?

2020-08-22 Thread Arnabjyoti Kalita
Hello all, I am running QEMU-3.0.0 in TCG mode, and my QEMU as well as TCG target is x86_64 architecture. What I am trying to do is inject an I/O interrupt in the middle of a translation block. I have started TCG mode using the following debug flags *-d in_asm,cpu,exec,nochain* Let's say, I hav