From af249ea46829a3656ad41891c4b63c0df47377df Mon Sep 17 00:00:00 2001 From: Matthew Booth Date: Thu, 5 Nov 2009 15:31:03 +0100 Subject: [PATCH] Support for in domain and QEmu backend allows the following to be specified in a domain: * proxy/Makefile.am: add network.c as dep of domain_conf.c * docs/schemas/domain.rng src/conf/domain_conf.[ch]: extend the domain schemas and the parsing/serialization side for the new construct QEmu support will add the following on the qemu command line: -chardev pipe,id=channel0,path=/tmp/guestfwd -net user,guestfwd=tcp:10.0.2.1:4600-chardev:channel0 * src/qemu/qemu_conf.c: Add argument output for channel * tests/qemuxml2(argv|xml)test.c: Add test for domain syntax --- docs/schemas/domain.rng | 93 ++++++++++++------- proxy/Makefile.am | 1 + src/conf/domain_conf.c | 188 +++++++++++++++++++++++++++++++++++---- src/conf/domain_conf.h | 6 ++ src/qemu/qemu_conf.c | 132 +++++++++++++++++++++++++++ tests/qemuxml2argvtest.c | 4 +- tests/qemuxml2xmltest.c | 1 + 7 files changed, 375 insertions(+), 50 deletions(-) diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng index 0a6ab61561..b75f17eba7 100644 --- a/docs/schemas/domain.rng +++ b/docs/schemas/domain.rng @@ -930,6 +930,19 @@ definition doesn't fully specify the constraints on this node. --> + + + + + + + + + + + + + dev @@ -944,43 +957,36 @@ pty - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + +