Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Context-based output infrastructure (V3_Print, etc) and modifications to use it
[palacios.git] / palacios / src / palacios / vmm_symbiotic.c
index 8fda86e..6ef8c44 100644 (file)
@@ -52,20 +52,20 @@ int v3_init_symbiotic_vm(struct v3_vm_info * vm) {
     v3_hook_cpuid(vm, SYM_CPUID_NUM, cpuid_fn, NULL);
 
     if (v3_init_symspy_vm(vm, &(vm_state->symspy_state)) == -1) {
-       PrintError("Error initializing global SymSpy state\n");
+      PrintError(vm,VCORE_NONE, "Error initializing global SymSpy state\n");
        return -1;
     }
 
 #ifdef V3_CONFIG_SYMCALL
     if (v3_init_symcall_vm(vm) == -1) {
-       PrintError("Error intializing global SymCall state\n");
+      PrintError(vm, VCORE_NONE, "Error intializing global SymCall state\n");
        return -1;
     }
 #endif
 
 #ifdef V3_CONFIG_SYMMOD
     if (v3_init_symmod_vm(vm, vm->cfg_data->cfg) == -1) {
-       PrintError("Error initializing global SymMod state\n");
+        PrintError(vm, VCORE_NONE, "Error initializing global SymMod state\n");
        return -1;
     }
 #endif
@@ -79,7 +79,7 @@ int v3_deinit_symbiotic_vm(struct v3_vm_info * vm) {
 
 #ifdef V3_CONFIG_SYMMOD
     if (v3_deinit_symmod_vm(vm) == -1) {
-       PrintError("Error deinitializing global SymMod state\n");
+        PrintError(vm, VCORE_NONE,  "Error deinitializing global SymMod state\n");
        return -1;
     }
 #endif
@@ -98,7 +98,7 @@ int v3_init_symbiotic_core(struct guest_info * core) {
     
 
     if (v3_init_symspy_core(core, &(core_state->symspy_state)) == -1) {
-       PrintError("Error intializing local SymSpy state\n");
+        PrintError(core->vm_info, core, "Error intializing local SymSpy state\n");
        return -1;
     }