+* 1.5.88
+- modified test.hb.ignore to hb.ignore and add conditional sentence for remote excution
+== Sungmin Ha <sungmin82.ha@samsung.com> 2013-09-04
* 1.5.87
- modified SDL logic
== GiWoong Kim <giwoong.kim@samsung.com> 2013-09-03
-Version: 1.5.87
+Version: 1.5.88
Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com>
Source: emulator
int enable_gl = 0;
int enable_yagl = 0;
+int enable_spice = 0;
int is_webcam_enabled;
static int _skin_argc;
extern const char *yagl_backend;
extern int enable_vigs;
extern const char *vigs_backend;
+extern int enable_spice;
#define MAX_IDE_BUS 2
void *fw_cfg = NULL;
#if defined(__linux__)
Display *display = XOpenDisplay(0);
- if (!display) {
+ if (!display && !enable_spice) {
fprintf(stderr, "Cannot open X display\n");
exit(1);
}
}
boolean ignoreHeartbeat =
- config.getArgBoolean(ArgsConstants.TEST_HEART_BEAT_IGNORE);
+ config.getArgBoolean(ArgsConstants.HEART_BEAT_IGNORE);
if (ignoreHeartbeat) {
logger.info("Ignore Skin heartbeat.");
public static final String UID = "uid";
public static final String RESOLUTION_WIDTH = "width";
public static final String RESOLUTION_HEIGHT = "height";
- public static final String TEST_HEART_BEAT_IGNORE = "test.hb.ignore";
+ public static final String HEART_BEAT_IGNORE = "hb.ignore";
public static final String LOG_LEVEL = "log.level";
public static final String VM_PATH = "vm.path";
public static final String VM_SKIN_PORT = "vm.skinport";
}
public interface ConfigPropertiesConstants {
- public static final String TEST_HEART_BEAT_IGNORE = "test.hb.ignore";
+ public static final String HEART_BEAT_IGNORE = "hb.ignore";
public static final String LOG_LEVEL = "log.level";
}
#define PORT_RETRY_COUNT 50
-#define TEST_HB_IGNORE "test.hb.ignore"
+#define HB_IGNORE "hb.ignore"
#define TEST_VM_SKINPORT "test.vm.skinport"
#define SKIN_CONFIG_PROP ".skinconfig.properties"
char hb_ignore_prop[32] = { 0, };
memset(hb_ignore_prop, 0, 32);
- strcat(hb_ignore_prop, TEST_HB_IGNORE);
+ strcat(hb_ignore_prop, HB_IGNORE);
strcat(hb_ignore_prop, "=true");
char* line_str = strtok(buf, "\n");
INFO("skin parameter key : %s, value : %s\n",
key, value);
- if (0 == strcmp(TEST_HB_IGNORE, key)) {
+ if (0 == strcmp(HB_IGNORE, key)) {
if (0 == strcmp(OPT_BOOLEAN_TRUE, value)) {
ignore_heartbeat = 1;
} else if (0 == strcmp(OPT_BOOLEAN_FALSE, value)) {
//virtio-gl
extern int enable_gl;
extern int enable_yagl;
+extern int enable_spice;
const char *yagl_backend = NULL;
int enable_vigs = 0;
char *vigs_backend = NULL;
fprintf(stderr, "spice is not supported by this qemu build.\n");
exit(1);
}
+#ifdef CONFIG_MARU
+ enable_spice = 1;
+#endif
opts = qemu_opts_parse(olist, optarg, 0);
if (!opts) {
exit(1);