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 address width calculations
[palacios.git] / palacios / include / palacios / vm_guest.h
index 1eb4de6..8b2104e 100644 (file)
@@ -32,6 +32,7 @@
 #include <palacios/vmm_host_events.h>
 #include <palacios/vmm_msr.h>
 #include <palacios/vmm_profiler.h>
+#include <palacios/vmm_hypercall.h>
 
 
 
@@ -118,7 +119,7 @@ struct guest_info {
 
   uint_t cpl;
 
-  addr_t mem_size; // Probably in bytes for now....
+  addr_t mem_size; // In bytes for now
   v3_shdw_map_t mem_map;
 
 
@@ -138,6 +139,9 @@ struct guest_info {
 
   struct v3_msr_map msr_map;
 
+
+  v3_hypercall_map_t hcall_map;
+
   // device_map
   struct vmm_dev_mgr  dev_mgr;
 
@@ -145,6 +149,7 @@ struct guest_info {
 
   v3_vm_cpu_mode_t cpu_mode;
   v3_vm_mem_mode_t mem_mode;
+  uint_t addr_width;
 
 
   struct v3_gprs vm_regs;
@@ -179,6 +184,7 @@ struct guest_info {
 };
 
 
+uint_t v3_get_addr_width(struct guest_info * info);
 v3_vm_cpu_mode_t v3_get_cpu_mode(struct guest_info * info);
 v3_vm_mem_mode_t v3_get_mem_mode(struct guest_info * info);