[libvirt] [PATCH] qemu: Reverse condition in qemuDomainCheckDiskPresence

2012-03-14 Thread Michal Privoznik
With current code, we pass true iff domain is cold booting. However, if disk is inaccessible and startupPolicy for that disk is set to 'requisite' we have to fail iff cold booting. --- src/qemu/qemu_domain.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [libvirt] [PATCH] qemu: Reverse condition in qemuDomainCheckDiskPresence

2012-03-14 Thread Eric Blake
On 03/14/2012 05:38 AM, Michal Privoznik wrote: With current code, we pass true iff domain is cold booting. However, if disk is inaccessible and startupPolicy for that disk is set to 'requisite' we have to fail iff cold booting. --- src/qemu/qemu_domain.c |4 ++-- 1 files changed, 2