用qemu单步调试Linux内核时,如何防止时钟中断打扰?

参考

https://stackoverflow.com/questions/64961631/how-to-skip-timer-interrupt-while-debugging-linux

解决

make menuconfig
> Processor type and features >
[*] Support x2apic

> Processor type and features > Linux guest support
[*]   Enable paravirtualization code
...
[*]   KVM Guest support (including kvmclock)
posted @ 2023-07-03 20:28  dolinux  阅读(70)  评论(0)    收藏  举报