From: Daniel P. Berrange Date: Tue, 8 Jun 2010 15:31:50 +0000 (+0100) Subject: Fix test breakage from virtio serial changes X-Git-Tag: v0.8.2~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cb08020e1ee1e8dec48273b7fd886e3f3633c6e;p=thirdparty%2Flibvirt.git Fix test breakage from virtio serial changes The virtio serial changes broke the test suite because they forgot to add the new address attribute to the domain XML schema. The xml2xml test also broke because the XML no longer roundtrips. This is due to testing of auto-addition of elements. Split that test case off into a separate XML file to avoid breakage * docs/schemas/domain.rng: Allow port number for virtio serial addresses * tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.args, tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.xml: Revert to a simple config to avoid breaking xml2xml test * tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-auto.xml, tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-auto.args: Add complex test case for auto-controller addition for xml2argv test * tests/qemuxml2argvtest.c: Add channel-virtio-auto test --- diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng index e819544e2b..9121da3661 100644 --- a/docs/schemas/domain.rng +++ b/docs/schemas/domain.rng @@ -1470,6 +1470,11 @@ + + + + +