Re: Unable to single-step in kvm, always results in a resume

Jan Kiszka
2010-01-19T15:13:09Z

>> Hi All,
>>
>> I am trying to single-step through my kernel using qemu and kvm. I have
>> run qemu via: qemu-system-x86_64 -s -S -hda
>> /home/nickamon/lab1/obj/kernel.img and also connected to the process
>> using gdb.
>>
>> Problem is that whenever I try and step instruction, it seems to resume
>> my kernel rather than allowing me to progress instruction by
>> instruction. I have built the kvm snapshot from git and still no luck.
>> Tried following the code for a few hours and have no luck. Any
>> suggestions?
>
> What's you host kernel or kvm-kmod version?
>

...and does -no-kvm make any difference (except that it's much slower)?