tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: T_TRCTRAP handling



On Wed, Feb 07, 2018 at 11:09:51AM +0100, Maxime Villard wrote:
> When it comes to Qemu's GDB, I'm not sure what would be the correct solution.
> Probably detect the hypervisor (by reading its CPUID leaf if it has one - not
> sure Qemu does), and then behave differently. But the default behavior should
> still be to panic.

QEMU should never let the kernel see any exceptions or other traces of being
debugged, IMHO.

To me this sounds like a qemu bug.

Martin


Home | Main Index | Thread Index | Old Index