[Qemu-discuss] Using gdb, how to step only one machine instruction after vmrun instruction? ...so that I jump in the guest OS code

2016-03-22 Thread Parfait Tokponnon
Hello everybody, I 'm using gdb to debug an hypervisor. and my goal is to trace the program execution starting from the point that the hypervisor launches the guest OS by "VMRUN" instruction so that I can jump to the first instruction in the guest OS code. This is an excerpt from the hypervisor cod

[Qemu-discuss] How to emulate vmx feature with qemu?

2016-08-25 Thread Parfait Tokponnon
Hello I read from here that vmx capability support on quemu must be explicitely enable by providing +vmx option to the command but the probllem is that it does not seem to work. In my system, VMX feature is still undetected. Co

[Qemu-discuss] How to emulate vmx feature in qemu?

2016-08-25 Thread Parfait Tokponnon
Hello I read from here that vmx capability support on quemu must be explicitely enable by providing +vmx option to the command but the probllem is that it does not seem to work. In my system, VMX feature is still undetected. Co

Re: [Qemu-discuss] How to emulate vmx feature in qemu?

2016-08-26 Thread Parfait Tokponnon
GMT+01:00 Narcis Garcia : > Why -no-kvm ? > > > El 26/08/16 a les 00:33, Parfait Tokponnon ha escrit: > > Hello > > > > I read from here > > <https://www.kernel.org/doc/Documentation/virtual/kvm/nested-vmx.txt> > > that vmx capability support on que

[Qemu-discuss] how to trace guest OS when qemu is run with kvm enabled and cpu is host?

2016-12-27 Thread Parfait Tokponnon
Hello all; Can someone help me with this question? I am a newbie in Kernel debugging. Is it possible to trace *guest OS* execution (break/watchpoints, single-stepping) when kvm is used and cpu is set to host? If I run qemu with qemu-system-x86_64 -no-kvm -cpu core2duo -m 256 -cdrom kernel.iso -s

[Qemu-discuss] Getting The Performance monitoring interrupt fired

2017-02-06 Thread Parfait Tokponnon
Hello I wrote some module in my hobby OS kernel to issue the performance monitoring interrupt (PMI) on instructions counter overflow. It works well on my machine (Intel core i5). But when I run it on qemu using qemu-system-x86_64 -enable-kvm -cpu host -m 256 -serial mon:stdio -cdrom var/run/hyper

Re: [Qemu-discuss] Getting The Performance monitoring interrupt fired

2017-02-10 Thread Parfait Tokponnon
Hello Bandan, Thank you for your reply; 2017-02-07 0:14 GMT+01:00 Bandan Das : > KVM implements a subset but I think this should work. Could it be that > interrupts > are not firing exactly when you want them ? > I don't think so because, this interrupt never fires no matter how much I wait for

Re: [Qemu-discuss] Getting The Performance monitoring interrupt fired

2017-02-12 Thread Parfait Tokponnon
> Right :) I think this discussion was well before vPMU was implemented. I > think the best approach > is to try a case where it's known to work (such as Linux) and then try to > backstep on why it's > not working in your case. You are damn right. I don't know if there is a special perf option to

qemu monitor : How to display model specific registers content?

2019-11-18 Thread Parfait Tokponnon
Hi all, Qemu monitor command "info registers" displays CPU general purpose registers along with a handful of control registers. Does someone know which command gives us the content of a model specific register? I found this thread