]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: don't overwrite watchdog dump action
authorCole Robinson <crobinso@redhat.com>
Wed, 13 Apr 2016 15:20:19 +0000 (11:20 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Apr 2016 16:28:04 +0000 (12:28 -0400)
commita91177c8f7b432e67d2e232650d7debbbfc694da
treebf671b29566d752ef9cb9c0f82a22f569fe18288
parent313272e074b03fb88c8f888445930a394b2ee5db
qemu: command: don't overwrite watchdog dump action

The watchdog cli refactoring in 4666b762 dropped the temporary variable
we use to convert to action=dump to action=pause for the qemu cli, and
stored the converted value in the domain structure. Our other watchdog
handling code then treated it as though the user requested action=pause,
which broke action=dump handling.

Revive the temporary variable to fix things.
src/qemu/qemu_command.c