]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Make qemuDomainCheckDiskStartupPolicy self-contained
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 1 Aug 2016 15:52:02 +0000 (17:52 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 2 Aug 2016 11:21:01 +0000 (13:21 +0200)
commite2705cfb6e50039a5f1d1c620f7ed18b37eca36d
tree9e70f386b3a8f9d7a3b9cd78d325274c5898d457
parent2ee5c6edfe8d5983e349896af5c5c45a47105626
qemu: Make qemuDomainCheckDiskStartupPolicy self-contained

There is an error reset following the function and check for
startupPolicy before that.  Let's reflect those things inside that
function so that future code doesn't have to be that complex.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_domain.c