From: Daniel P. Berrange Date: Tue, 9 Nov 2010 13:51:21 +0000 (+0000) Subject: Misc test case fixes for SPICE X-Git-Tag: v0.8.6~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff2bb29ca946dfc4a55aec61a9598c55f35ed39e;p=thirdparty%2Flibvirt.git Misc test case fixes for SPICE * docs/schemas/domain.rng: Fix merge error which left SPICE channel elements under VNC schema. * tests/qemuhelptest.c: Add SPICE flag to kvm-83 test * tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml: Add element --- diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng index 5b7ecc2a9f..890205dead 100644 --- a/docs/schemas/domain.rng +++ b/docs/schemas/domain.rng @@ -1093,27 +1093,6 @@ - - - - - main - display - inputs - cursor - playback - record - - - - - any - secure - insecure - - - - @@ -1152,6 +1131,28 @@ + + + + + main + display + inputs + cursor + playback + record + + + + + any + secure + insecure + + + + + diff --git a/tests/qemuhelptest.c b/tests/qemuhelptest.c index 912f6075b0..5339ec85ea 100644 --- a/tests/qemuhelptest.c +++ b/tests/qemuhelptest.c @@ -153,7 +153,8 @@ mymain(int argc, char **argv) QEMUD_CMD_FLAG_NO_KVM_PIT | QEMUD_CMD_FLAG_TDF | QEMUD_CMD_FLAG_DRIVE_READONLY | - QEMUD_CMD_FLAG_SMBIOS_TYPE, + QEMUD_CMD_FLAG_SMBIOS_TYPE | + QEMUD_CMD_FLAG_SPICE, 9001, 1, 83); DO_TEST("qemu-0.10.5", QEMUD_CMD_FLAG_KQEMU | diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml index bdce04b377..15a22f3069 100644 --- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml +++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml @@ -31,5 +31,6 @@ +