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.


added framework for stopping guest execution
Jack Lange [Fri, 5 Nov 2010 21:09:44 +0000 (16:09 -0500)]
palacios/src/palacios/vmm.c

index 92fbcbf..4db75f1 100644 (file)
@@ -234,6 +234,21 @@ int v3_start_vm(struct v3_vm_info * vm, unsigned int cpu_mask) {
 }
 
 
+int v3_stop_vm(struct v3_vm_info * vm) {
+
+    vm->run_state = VM_STOPPED;
+
+
+    // force exit all cores via a cross call/IPI
+
+    // Wait for all cores to enter CORE_STOPPED state
+
+    // deinitialize guest (free memory, etc...)
+
+    return 0;
+}
+
+
 #ifdef __V3_32BIT__
 
 v3_cpu_mode_t v3_get_host_cpu_mode() {