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.


fixed allocation hook
Jack Lange [Mon, 20 Jul 2009 18:24:22 +0000 (13:24 -0500)]
palacios/src/palacios/vmm.c

index a0e2fc7..1b191d0 100644 (file)
@@ -54,13 +54,11 @@ void Init_V3(struct v3_os_hooks * hooks, struct v3_ctrl_ops * vmm_ops) {
     v3_init_instrumentation();
 #endif
 
-    if (v3_is_svm_capable()) {
+    vmm_ops->allocate_guest = &allocate_guest;
 
+    if (v3_is_svm_capable()) {
         PrintDebug("Machine is SVM Capable\n");
-        vmm_ops->allocate_guest = &allocate_guest;
         v3_init_SVM(vmm_ops);
-
-
     } else if (v3_is_vmx_capable()) {
         PrintDebug("Machine is VMX Capable\n");
         v3_init_vmx(vmm_ops);