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.


PCI bugfix for passthrough bars
Peter Dinda [Fri, 22 Mar 2013 20:59:57 +0000 (15:59 -0500)]
palacios/src/devices/pci.c

index 7bac081..c911639 100644 (file)
@@ -1389,6 +1389,9 @@ static inline int init_bars(struct v3_vm_info * vm, struct pci_device * pci_dev)
            // Call the bar init function to get the local cached value
            bar->bar_init(i, &(bar->val), bar->private_data);
 
+           // Copy back changes it made
+            *(uint32_t *)(pci_dev->config_space + bar_offset) = bar->val;
+
        } else {
            PrintError(vm, VCORE_NONE, "Invalid BAR type for bar #%d\n", i);
            return -1;