# HG changeset patch
# User Richard Maciel <richardm(a)br.ibm.com>
# Date 1225226020 7200
# Node ID 98341347332bf3622f3e62987f624136cb051845
# Parent ef8ad1ecedfbb085337ec46bf6728fa6bea66d7d
Added association HostSystem <-> ConsoleRedirectionServiceCapabilities into the
ElementCapabilities.c file
* Changed the sys_to_cap function to add code for association
Signed-off-by: Richard Maciel <richardm(a)br.ibm.com>
diff -r ef8ad1ecedfb -r 98341347332b src/Virt_ElementCapabilities.c
--- a/src/Virt_ElementCapabilities.c Wed Oct 22 11:32:32 2008 -0700
+++ b/src/Virt_ElementCapabilities.c Tue Oct 28 18:33:40 2008 -0200
@@ -159,6 +159,10 @@
inst_list_add(list, inst);
s = get_migration_caps(ref, &inst, _BROKER, false);
+ if (s.rc == CMPI_RC_OK)
+ inst_list_add(list, inst);
+
+ s = get_console_rs_caps(_BROKER, ref, &inst, false);
if (s.rc == CMPI_RC_OK)
inst_list_add(list, inst);