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.


changes and fixes to support QEMU integration with pci_front
[palacios.git] / palacios / src / interfaces / vmm_host_dev.c
index 5992f9e..56ab8cd 100644 (file)
@@ -130,16 +130,16 @@ int v3_host_dev_raise_irq(v3_host_dev_t hostdev,
                          uint8_t irq)
 {
     if (intr) { 
-       intr(hostdev,guest_dev,irq,1);
-       return 0;
+        intr(hostdev,guest_dev,irq,1);
+        return 0;
     } else {
-       struct vm_device *dev = (struct vm_device *) guest_dev;
-       
-       if (dev && dev->vm) { 
-           return v3_raise_irq(dev->vm,irq);
-       } else {
-           return -1;
-       }
+        struct vm_device *dev = (struct vm_device *) guest_dev;
+
+        if (dev && dev->vm) { 
+            return v3_raise_irq(dev->vm,irq);
+        } else {
+            return -1;
+        }
     }
 }