[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 02/11] vz: change the order of capabilities reported



'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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index e12a95a..47a5060 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -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;
 
-- 
2.4.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]