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

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

 



'vz' goes first now to make clients like virt-manager choose 'vz'
instead of 'parallels'

Signed-off-by: Maxim Nestratov <mnestratov@xxxxxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]