Bug 1298150 - qemu's watchdog does not work?
Summary: qemu's watchdog does not work?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-13 10:53 UTC by lejeczek
Modified: 2016-01-14 16:31 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-14 15:31:08 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description lejeczek 2016-01-13 10:53:32 UTC
Description of problem:

I have this in my guest:

    <watchdog model='i6300esb' action='reset'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </watchdog>

and even though watchdog.service(with plain-vanilla config) is stopped the guess is fine, up & running.
Is this expected?

Version-Release number of selected component (if applicable):

qemu-kvm-common-ev-2.3.0-29.1.el7.x86_64
qemu-kvm-ev-2.3.0-29.1.el7.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Cole Robinson 2016-01-14 15:31:08 UTC
Since you are using centos, and this is really more of a config question than a bug, please take this to an upstream mailing list like libvirt-users

But you say that watchdog.service is _stopped_ inside the VM... it needs to be running. There's some more info here: https://rwmj.wordpress.com/2010/03/03/what-is-a-watchdog/

Comment 3 lejeczek 2016-01-14 16:31:33 UTC
sorry, my understanding was that hardware (here qemu's watchdog) would take action(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.
I'll check mailing list. Many thanks


Note You need to log in before you can comment on or make changes to this bug.