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.


*** empty log message ***
[palacios.releases.git] / palacios / include / palacios / vm_guest.h
index 28dae9e..977356d 100644 (file)
@@ -5,7 +5,7 @@
 #include <palacios/vmm_types.h>
 #include <palacios/vmm_io.h>
 #include <palacios/vmm_shadow_paging.h>
-
+#include <palacios/vmm_intr.h>
 
 typedef ullong_t gpr_t;
 
@@ -34,7 +34,7 @@ struct guest_gprs {
 
 
 struct shadow_page_state;
-
+struct shadow_map;
 
 typedef enum {SHADOW_PAGING, NESTED_PAGING} vm_page_mode_t;
 typedef enum {REAL, PROTECTED, PROTECTED_PG, PROTECTED_PAE, PROTECTED_PAE_PG, LONG, LONG_PG} vm_cpu_mode_t;
@@ -43,7 +43,7 @@ struct guest_info {
   ullong_t rip;
 
 
-  shadow_map_t mem_map;
+  struct shadow_map mem_map;
 
   
   vm_page_mode_t page_mode;
@@ -51,6 +51,9 @@ struct guest_info {
   // nested_paging_t nested_page_state;
 
 
+  // This structure is how we get interrupts for the guest
+  struct vm_intr intr_state;
+
   vmm_io_map_t io_map;
   // device_map