qtest: Fix the bug about disable vnc causes "make check" fail
authorKewei Yu <keweihk@gmail.com>
Mon, 6 Jan 2014 06:05:24 +0000 (14:05 +0800)
committerKevin Wolf <kwolf@redhat.com>
Wed, 22 Jan 2014 11:07:16 +0000 (12:07 +0100)
commitb7fcff01790d25f48d81ef6c8c3399577096a555
treec466d8b15a495026d9550a9bad393dacb88c2be4
parent9f23fce7b2e78b917f03ccd366e3e151c0a1a419
qtest: Fix the bug about disable vnc causes "make check" fail

When we disable vnc from "./configure", QEMU can't use the vnc option.
So qtest can't use the "vnc -none ", otherwise "make check" fails.
If QEMU uses "-display none", "-vnc none" is excrescent, So we just need to drop it.

Signed-off-by: Kewei Yu <keweihk@gmail.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/fdc-test.c
tests/ide-test.c