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 pci passthrough and a few other things
[palacios.git] / palacios / src / devices / i440fx.c
index 8621d33..da26d6b 100644 (file)
@@ -21,6 +21,9 @@
 #include <palacios/vmm_dev_mgr.h>
 #include <devices/pci.h>
 
+
+// We Have to setup some sort of PIC interrupt mapping here....
+
 struct i440_state {
     struct vm_device * pci;
 };
@@ -89,8 +92,9 @@ static int i440_init(struct guest_info * vm, void * cfg_data) {
        bars[i].type = PCI_BAR_NONE;
     }    
 
-    pci_dev = v3_pci_register_device(state->pci, PCI_STD_DEVICE, 0, 0, 0, "i440FX", bars,
-                                    NULL, NULL, NULL, dev);
+    pci_dev = v3_pci_register_device(state->pci, PCI_STD_DEVICE, 
+                                    0, 0, 0, "i440FX", bars,
+                                    NULL, NULL, NULL, dev, NULL);
 
     if (!pci_dev) {
        return -1;