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 null library files to fix linking
Jack Lange [Tue, 8 Mar 2011 03:01:20 +0000 (21:01 -0600)]
palacios/lib/i386/Makefile
palacios/lib/i386/null.c [new file with mode: 0644]
palacios/lib/x86_64/Makefile
palacios/lib/x86_64/null.c [new file with mode: 0644]
palacios/src/palacios/vmm_v3dec.c

index 439cd66..593cb48 100644 (file)
@@ -1,2 +1,4 @@
+obj-y := null.o
+
 obj-$(CONFIG_XED) :=   libxed.a \
                        v3-xed-compat.o 
diff --git a/palacios/lib/i386/null.c b/palacios/lib/i386/null.c
new file mode 100644 (file)
index 0000000..1828c44
--- /dev/null
@@ -0,0 +1,6 @@
+/** \file
+ * Do nothing module.
+ *
+ * This file only exists to appease the kbuild gods.
+ */
+
index c77a270..2d97a1b 100644 (file)
@@ -1,2 +1,4 @@
+obj-y := null.o
+
 obj-$(CONFIG_XED) :=   libxed32e.a \
                        v3-xed-compat.o
diff --git a/palacios/lib/x86_64/null.c b/palacios/lib/x86_64/null.c
new file mode 100644 (file)
index 0000000..1828c44
--- /dev/null
@@ -0,0 +1,6 @@
+/** \file
+ * Do nothing module.
+ *
+ * This file only exists to appease the kbuild gods.
+ */
+
index 47a2487..d3a59d1 100644 (file)
@@ -281,11 +281,11 @@ static int parse_operands(struct guest_info * core, uint8_t * instr_ptr,
 
            instr->src_operand.type = MEM_OPERAND;
            instr->src_operand.size = operand_width;
-           instr->src_operand.operand = core->segments.ds.base + MASK(core->vm_regs.rsi, addr_width);
+           instr->src_operand.operand = get_addr_linear(core,  MASK(core->vm_regs.rsi, addr_width), &(core->segments.ds));
 
            instr->src_operand.type = MEM_OPERAND;
            instr->src_operand.size = operand_width;
-           instr->src_operand.operand = core->segments.es.base + MASK(core->vm_regs.rdi, addr_width);
+           instr->src_operand.operand = get_addr_linear(core, MASK(core->vm_regs.rdi, addr_width), &(core->segments.es));
 
            instr->num_operands = 2;