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.


Corrected calling convention for user requests in the host device interface
Peter Dinda [Fri, 20 Jan 2012 19:06:30 +0000 (13:06 -0600)]
linux_module/iface-host-dev.c

index 191e57e..23d05e7 100644 (file)
@@ -380,8 +380,8 @@ static int host_dev_ioctl(struct inode *ip, struct file *fp, unsigned int val, u
                        return -EFAULT;
                    }
                    
-                   if (v3_host_dev_read_guest_mem(dev->guestdev,
-                                                  dev,
+                   if (v3_host_dev_read_guest_mem(dev,
+                                                  dev->guestdev,
                                                   op.gpa,
                                                   temp,
                                                   op.len) != op.len) {
@@ -421,8 +421,8 @@ static int host_dev_ioctl(struct inode *ip, struct file *fp, unsigned int val, u
                        return -EFAULT;
                    }
                    
-                   if (v3_host_dev_write_guest_mem(dev->guestdev,
-                                                   dev,
+                   if (v3_host_dev_write_guest_mem(dev,
+                                                   dev->guestdev,
                                                    op.gpa,
                                                    temp,
                                                    op.len) != op.len) {
@@ -441,7 +441,7 @@ static int host_dev_ioctl(struct inode *ip, struct file *fp, unsigned int val, u
 
                    DEEP_DEBUG_PRINT("palacios: hostdev: irq guest\n");
 
-                   return  v3_host_dev_raise_irq(dev->guestdev, dev, op.irq);
+                   return  v3_host_dev_raise_irq(dev, dev->guestdev, op.irq);
                }
                    break;