Re: [Qemu-devel] Detecting Client OS BSOF/Kernel Oops
> Clemens Kolbitsch wrote : > > 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... > > Real machines usually have hardware watchdogs for that. I do not know > if qemu has one available for your target but that's the way I would > go. Of course, you would have to configure the watchdog driver/daemon > in the OS, so OS support is important. Watchdog devices can be pretty simple - probably coming down to just a few IO ports. A QEMU-based watchdog device ought to be fairly easy to implement, I'd imagine. I've been thinking about doing this but haven't got round to tackling it yet. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!
Re: [Qemu-devel] Detecting Client OS BSOF/Kernel Oops
Hi, Clemens Kolbitsch wrote : > > 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... > Real machines usually have hardware watchdogs for that. I do not know if qemu has one available for your target but that's the way I would go. Of course, you would have to configure the watchdog driver/daemon in the OS, so OS support is important. Flavien.
Re: [Qemu-devel] Detecting Client OS BSOF/Kernel Oops
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.
[Qemu-devel] Detecting Client OS BSOF/Kernel Oops
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)!! Thanks!