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.


vmx_patch4
[palacios.git] / palacios / include / palacios / vmx_lowlevel.h
index fe8cf44..b597f9a 100644 (file)
@@ -56,7 +56,7 @@
 
 
 
-static inline int v3_enable_vmx(struct vmcs_data* vmxon_ptr) {
+static inline int v3_enable_vmx(struct vmcs_data * vmxon_ptr) {
     uint64_t vmxon_ptr_64 = (uint64_t)vmxon_ptr;
     uint8_t ret_invalid = 0;
 
@@ -138,7 +138,7 @@ static inline int vmcs_store(struct vmcs_data* vmcs_ptr) {
     uint64_t vmcs_ptr_64 = (uint64_t)vmcs_ptr;
 
     __asm__ __volatile__ (
-               VMPTRSRT_OPCODE
+               VMPTRST_OPCODE
                EAX_07_MODRM
                :
                : "a"(&vmcs_ptr_64)