Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
New in v2, this was moved out of another patch.
src/qemu/qemu_process.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index a4bc082..ea60941 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -4517,11 +4517,14 @@ qemuProcessStartValidate(virQEMUDriverPtr driver,
if (qemuProcessStartValidateXML(driver, vm, qemuCaps, caps, flags) < 0)
return -1;
+ if (qemuProcessStartValidateGraphics(vm) < 0)
+ return -1;
+
VIR_DEBUG("Checking for any possible (non-fatal) issues");
qemuProcessStartWarnShmem(vm);
- return qemuProcessStartValidateGraphics(vm);
+ return 0;
}
--
2.10.1