From 419aaf23ce3f952cb249d633a9a180fc01618855 Mon Sep 17 00:00:00 2001 From: Maxim Nestratov Date: Mon, 28 Mar 2016 21:08:49 +0300 Subject: [PATCH] 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 --- 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 b38b676682..f8d9085460 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;