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.


Handling of pause exits (currently just noop, but power management would go here)
Peter Dinda [Sat, 19 Jul 2008 01:03:34 +0000 (01:03 +0000)]
palacios/include/palacios/svm_pause.h [new file with mode: 0644]
palacios/src/palacios/svm_pause.c [new file with mode: 0644]

diff --git a/palacios/include/palacios/svm_pause.h b/palacios/include/palacios/svm_pause.h
new file mode 100644 (file)
index 0000000..5db30ef
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef __SVM_PAUSE_H
+#define __SVM_PAUSE_H
+#include <palacios/vm_guest.h>
+#include <palacios/vmcb.h>
+#include <palacios/vmm.h>
+
+
+int handle_svm_pause(struct guest_info * info);
+
+
+
+#endif
diff --git a/palacios/src/palacios/svm_pause.c b/palacios/src/palacios/svm_pause.c
new file mode 100644 (file)
index 0000000..a6fadca
--- /dev/null
@@ -0,0 +1,13 @@
+#include <palacios/svm_pause.h>
+#include <palacios/vmm_intr.h>
+
+
+int handle_svm_pause(struct guest_info * info)
+{
+  // handled as a nop
+
+  info->rip+=2;
+
+  return 0;
+
+}