# HG changeset patch
# User Sharad Mishra <snmishra(a)us.ibm.com>
# Date 1259698252 28800
# Node ID e684978394c4d7afb4febff2b51d1bcb4d1854b0
# Parent 955cc84d7c9a4964240e77e9e83adfccf40ad5c5
Set Graphics Template
Signed-off-by: Sharad Mishra <snmishra(a)us.ibm.com>
diff -r 955cc84d7c9a -r e684978394c4 src/Virt_SettingsDefineCapabilities.c
--- a/src/Virt_SettingsDefineCapabilities.c Tue Dec 01 12:10:51 2009 -0800
+++ b/src/Virt_SettingsDefineCapabilities.c Tue Dec 01 12:10:52 2009 -0800
@@ -1555,7 +1555,8 @@
const char *id;
CMPIStatus s = {CMPI_RC_OK, NULL};
const char *type[] = {"sdl", "vnc"};
- const char *addr[] = {NULL, "127.0.0.1:-1", "[::1]:-1"};
+ const char *addr[] = {NULL, "127.0.0.1:-1", "[::1]:-1",
+ "True", "False"};
int type_ct = 2;
int i,j;
@@ -1580,7 +1581,7 @@
}
for (i = 0; i < type_ct; i++) {
- for (j = 1; j < 3; j++){
+ for (j = 1; j < 5; j++){
s = set_graphics_props(ref,
id,
type[i],