]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Implement VIR_DOMAIN_TAINT_HOOK
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 4 Feb 2014 15:42:13 +0000 (16:42 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 17 Feb 2014 10:38:15 +0000 (11:38 +0100)
commit3b2c2794496e3e83187e8e2f0435ca2a003f2f1d
treedc9df755155087ca7bc1cb60230284d3730cbee8
parent287d30a816c23aa4ab5a0cc4073d0c4ca04c8ec3
qemu: Implement VIR_DOMAIN_TAINT_HOOK

Currently, there's just one place where we care if hook script is
changing the domain XML: migration hook for incoming migration. In
all other places where a hook script is executed, we don't read the
XML back from the script.

Anyway, the hook script can alter domain XML and hence we should taint
it if the script did.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_migration.c