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.


Add comment
Kevin Pedretti [Fri, 4 Apr 2014 21:53:36 +0000 (15:53 -0600)]
palacios/src/palacios/vmm_xed.c

index 1b783f0..843cc79 100644 (file)
@@ -1097,6 +1097,13 @@ static int xed_reg_to_v3_reg(struct guest_info * info, xed_reg_enum_t xed_reg,
            *reg_len = 4;
            return CTRL_REGISTER;
        case XED_REG_CR8:
+           // TODO FIX: Peter says this should actually look like:
+           //   ((info->ctrl_regs.apic_tpr >> 4) & 0xf)
+           // but this isn't straightforward since it doesn't
+           // make an lvalue (need to create temporary).
+           // Committing simple fix below to fix build. We are
+           // never going to use xed going forward anyway, so
+           // this doesn't matter.
            *v3_reg = (addr_t)&(info->ctrl_regs.apic_tpr);
            *reg_len = 4;
            return CTRL_REGISTER;