diff options
author | 2010-04-20 17:22:49 -0400 | |
---|---|---|
committer | 2010-07-23 17:30:45 -0400 | |
commit | a71be01f04e7cacfe37d9d3d3c934096f863a495 (patch) | |
tree | e63afda375d17d1046fb695abf51687967e570fe /src/qemu/qemu_driver.h | |
parent | Qemu remote protocol. (diff) | |
download | libvirt-a71be01f04e7cacfe37d9d3d3c934096f863a495.tar.gz libvirt-a71be01f04e7cacfe37d9d3d3c934096f863a495.tar.bz2 libvirt-a71be01f04e7cacfe37d9d3d3c934096f863a495.zip |
Add tests for the new Qemu namespace XML.
Thanks to DV for knocking together the Relax-NG changes
quickly for me.
Changes since v1:
- Change the domain.rng to correspond to the new schema
- Don't allocate caps->ns in testQemuCapsInit since it is a static table
Changes since v2:
- Change domain.rng to add restrictions on allowed environment names
Changes since v3:
- Remove a bogus comment in the tests
Signed-off-by: Chris Lalancette <clalance@redhat.com>
Diffstat (limited to 'src/qemu/qemu_driver.h')
-rw-r--r-- | src/qemu/qemu_driver.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/qemu/qemu_driver.h b/src/qemu/qemu_driver.h index 95b8bffa9..60131a7c8 100644 --- a/src/qemu/qemu_driver.h +++ b/src/qemu/qemu_driver.h @@ -27,6 +27,8 @@ # include <config.h> +# include <libxml/xpath.h> + # include "internal.h" # if HAVE_LINUX_KVM_H @@ -49,4 +51,13 @@ int qemuRegister(void); +void qemuDomainDefNamespaceFree(void *nsdata); +int qemuDomainDefNamespaceParse(xmlDocPtr xml, + xmlNodePtr root, + xmlXPathContextPtr ctxt, + void **data); +int qemuDomainDefNamespaceFormatXML(virBufferPtr buf, + void *nsdata); +const char *qemuDomainDefNamespaceHref(void); + #endif /* QEMUD_DRIVER_H */ |