qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Detecting Client OS BSOF/Kernel Oops


From: Avi Kivity
Subject: Re: [Qemu-devel] Detecting Client OS BSOF/Kernel Oops
Date: Wed, 06 Jun 2007 14:55:34 +0300
User-agent: Thunderbird 2.0.0.0 (X11/20070419)

Clemens Kolbitsch wrote:
> Hi!
> I'd like to detect if the client OS crashes... right now, only for
> linux, but windows systems will become interesting for me as well in
> the future...
>
> Is there an easy way of detecting if a BSOD or a kernel oops
> happened?? Maybe that'd be possible by checking if the IP is inside a
> certain range (I could find that location, I think... it does not have
> to be working generically... for specific client OS would be
> sufficient)!!

You could try checking whether the hlt instruction (on x86) was executed
with interrupts disabled.


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]