diff options
author | Matthias Bolte <matthias.bolte@googlemail.com> | 2010-01-16 13:52:34 +0100 |
---|---|---|
committer | Matthias Bolte <matthias.bolte@googlemail.com> | 2010-01-18 01:44:20 +0100 |
commit | c2c4d51b2f9f2bb925337ef9e925e3d4a8d11b70 (patch) | |
tree | 72a1762bcd4e3600aa35c2b4ea24a7041de9b280 /tests/vmx2xmltest.c | |
parent | esx: Make the domain part of the hostname optional (diff) | |
download | libvirt-c2c4d51b2f9f2bb925337ef9e925e3d4a8d11b70.tar.gz libvirt-c2c4d51b2f9f2bb925337ef9e925e3d4a8d11b70.tar.bz2 libvirt-c2c4d51b2f9f2bb925337ef9e925e3d4a8d11b70.zip |
esx: Add VNC support
* src/conf/domain_conf.c: add defaults for the video device
* src/esx/esx_vmx.[ch]: add VNC support to the VMX handling
* tests/vmx2xmltest.c, tests/xml2vmxtest.c: add tests for the VNC support
Diffstat (limited to 'tests/vmx2xmltest.c')
-rw-r--r-- | tests/vmx2xmltest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/vmx2xmltest.c b/tests/vmx2xmltest.c index 0cb387b2c..2e4547e88 100644 --- a/tests/vmx2xmltest.c +++ b/tests/vmx2xmltest.c @@ -42,7 +42,7 @@ testCompareFiles(const char *vmx, const char *xml, esxVI_APIVersion apiVersion) goto failure; } - formatted = virDomainDefFormat(NULL, def, 0); + formatted = virDomainDefFormat(NULL, def, VIR_DOMAIN_XML_SECURE); if (formatted == NULL) { goto failure; @@ -120,6 +120,8 @@ mymain(int argc, char **argv) DO_TEST("minimal", "minimal", esxVI_APIVersion_25); DO_TEST("minimal-64bit", "minimal-64bit", esxVI_APIVersion_25); + DO_TEST("graphics-vnc", "graphics-vnc", esxVI_APIVersion_25); + DO_TEST("scsi-buslogic", "scsi-buslogic", esxVI_APIVersion_25); DO_TEST("scsi-writethrough", "scsi-writethrough", esxVI_APIVersion_25); |