]> xenbits.xensource.com Git - libvirt.git/commitdiff
vz: change the order of capabilities reported
authorMaxim Nestratov <mnestratov@virtuozzo.com>
Mon, 28 Mar 2016 18:08:49 +0000 (21:08 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Tue, 12 Apr 2016 18:04:53 +0000 (21:04 +0300)
'vz' goes first now to make clients like virt-manager choose 'vz'
instead of 'parallels'

Signed-off-by: Maxim Nestratov <mnestratov@virtuozzo.com>
src/vz/vz_driver.c

index b38b676682a571f3c9c6065c31d78939c40b63d1..f8d908546045df4977c8952a70b61ef9d892e4aa 100644 (file)
@@ -109,10 +109,10 @@ vzBuildCapabilities(void)
         VIR_DOMAIN_OSTYPE_EXE
     };
     virArch archs[] = { VIR_ARCH_I686, VIR_ARCH_X86_64 };
-    const char *const emulators[] = { "parallels", "vz" };
+    const char *const emulators[] = { "vz", "parallels"};
     virDomainVirtType virt_types[] = {
-        VIR_DOMAIN_VIRT_PARALLELS,
-        VIR_DOMAIN_VIRT_VZ
+        VIR_DOMAIN_VIRT_VZ,
+        VIR_DOMAIN_VIRT_PARALLELS
     };
     size_t i, j, k;