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.


save/restore MSRs before VM entry/exit
[palacios.git] / palacios / include / palacios / vm_guest.h
index bb3bad9..9987fe5 100644 (file)
@@ -55,7 +55,7 @@ struct v3_gprs {
   v3_reg_t r14;
   v3_reg_t r15;
   
-};
+} __attribute__((packed));
 
 
 struct v3_ctrl_regs {
@@ -165,6 +165,13 @@ struct guest_info {
 
   struct v3_msr guest_efer;
 
+
+  struct v3_msr shadow_cstar;
+  struct v3_msr shadow_star;
+  struct v3_msr shadow_lstar;
+  struct v3_msr shadow_syscall_mask;
+  
+
   /* TEMP */
   //ullong_t exit_tsc;