]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add Taint for nbdkit restart failure
authorJonathon Jongsma <jjongsma@redhat.com>
Mon, 21 Aug 2023 21:04:35 +0000 (16:04 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Tue, 19 Sep 2023 19:28:50 +0000 (14:28 -0500)
commit8836f331d7c703483d7c1489b938f33cb6f9a268
treefafe355000d98b3141fe926ce9fe86983d9aae54
parent0993f9f9057303b01654af0b1607677eb72c2080
qemu: Add Taint for nbdkit restart failure

Since the restart handler will trigger at an arbitrary time (when the
nbdkit process crashes, for instance), it's difficult to provide
feedback to the user if the restart is unsuccessful. Rather than just
relying on a warning in the log, taint the domain so that there will be
a slightly more user-visible notification.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h