From 30542c93e690cc3557758b85240559bc3fda724c Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Wed, 16 Mar 2022 18:38:15 +0100 Subject: [PATCH] M #-: Add host drivers to VM xml (short) - This will help to identify VM class (e.g. KVM vs VMware) in list views - Update xsd schema for vm pool (VM_MAD/TM_MAD) (cherry picked from commit 289846f67f5d831e363868a713e3fd3125e90416) --- share/doc/xsd/vm_pool.xsd | 2 ++ src/vm/History.cc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/share/doc/xsd/vm_pool.xsd b/share/doc/xsd/vm_pool.xsd index f12187ec9d..a9b1a38626 100644 --- a/share/doc/xsd/vm_pool.xsd +++ b/share/doc/xsd/vm_pool.xsd @@ -75,6 +75,8 @@ + + diff --git a/src/vm/History.cc b/src/vm/History.cc index 73d2c1f454..de7863e9c4 100644 --- a/src/vm/History.cc +++ b/src/vm/History.cc @@ -404,6 +404,8 @@ string& History::to_xml_short(string& xml) const "" << hid << "" << "" << cid << "" << "" << ds_id << "" << + "" << one_util::escape_xml(vmm_mad_name)<<""<< + "" << one_util::escape_xml(tm_mad_name) <<"" << "" << one_util::escape_xml(action) << "" << "";