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 cpu interruption interface
[palacios.git] / palacios / src / palacios / vmm.c
index fea7009..2af99d2 100644 (file)
@@ -143,3 +143,11 @@ void v3_yield(struct guest_info * info) {
 }
 
 
+
+void v3_interrupt_cpu(struct guest_info * info, int logical_cpu) {
+    extern struct v3_os_hooks * os_hooks;
+
+    if ((os_hooks) && (os_hooks)->interrupt_cpu) {
+       (os_hooks)->interrupt_cpu(info, logical_cpu);
+    }
+}