From: "Richard W.M. Jones" <rjones@redhat.com>
To: lejeczek <peljasz@yahoo.co.uk>
Cc: qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] how to setup a watchdog?
Date: Sat, 30 Jan 2016 11:42:11 +0000 [thread overview]
Message-ID: <20160130114211.GA27970@redhat.com> (raw)
In-Reply-To: <569CCFC6.60909@yahoo.co.uk>
On Mon, Jan 18, 2016 at 11:43:02AM +0000, lejeczek wrote:
> apologies I bother devel, but..
> I tried to get help on libvirt mailing list but not luck, then qemu,
> still nothing
> I hope maybe somebody here?
>
> I'm trying Qemu's watchdog.
> My understanding was that hardware (here qemu's watchdog) would take
> action, eg. cold reboot the system if there is no ping from the OS
> watchdog, so I
> thought stopping watchdog service in VM should be a quick test,
> right?
>
> I have this in the guest:
>
> <watchdog model='i6300esb' action='reset'>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x08'
> function='0x0'/>
> </watchdog>
>
> and I see /dev/watchdog in my guest. Yet nothing happens,
> guest(linux) runs uninterrupted.
> I must be missing something, an expert said it's config problem, is
> it really is?
Sorry for the late response.
If your guest is Linux, you must also run the watchdog daemon in the
guest. The watchdog device's timer isn't primed until it is opened
and set up by the watchdog daemon.
There is basically no watchdog framework or support in Windows, so
you'll have to write the software and driver yourself.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
prev parent reply other threads:[~2016-01-30 11:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-18 11:43 [Qemu-devel] how to setup a watchdog? lejeczek
2016-01-20 6:37 ` Philipp Hahn
2016-01-30 11:42 ` Richard W.M. Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160130114211.GA27970@redhat.com \
--to=rjones@redhat.com \
--cc=peljasz@yahoo.co.uk \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).