From 17b2bf73e040bbce9b774cf0b20a092b9e676218 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 10 Feb 2021 14:26:57 +0530 Subject: [PATCH] hypervisor: XCP-ng 8.2 support Signed-off-by: Abhishek Kumar --- .../src/main/resources/META-INF/db/schema-41500to41510.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/schema/src/main/resources/META-INF/db/schema-41500to41510.sql b/engine/schema/src/main/resources/META-INF/db/schema-41500to41510.sql index caafde62556b..50811a469009 100644 --- a/engine/schema/src/main/resources/META-INF/db/schema-41500to41510.sql +++ b/engine/schema/src/main/resources/META-INF/db/schema-41500to41510.sql @@ -19,3 +19,8 @@ -- Schema upgrade from 4.15.0.0 to 4.15.1.0 --; +-- Add XenServer 8.2 hypervisor capabilities +INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, hypervisor_version, max_guests_limit, max_data_volumes_limit, max_hosts_per_cluster, storage_motion_supported) values (UUID(), 'XenServer', '8.2.0', 1000, 253, 64, 1); + +-- Copy XenServer 8.1 hypervisor guest OS mappings to XenServer8.2 +INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) SELECT UUID(),'Xenserver', '8.2.0', guest_os_name, guest_os_id, utc_timestamp(), 0 FROM `cloud`.`guest_os_hypervisor` WHERE hypervisor_type='Xenserver' AND hypervisor_version='8.1.0';