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.


Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Peter Dinda [Fri, 16 Sep 2011 23:07:53 +0000 (18:07 -0500)]
bios/vgabios/VGABIOS-lgpl-latest.bin
linux_module/iface-console.c

index dc6785d..60f9f6e 100644 (file)
Binary files a/bios/vgabios/VGABIOS-lgpl-latest.bin and b/bios/vgabios/VGABIOS-lgpl-latest.bin differ
index ab66d5a..9eedbe5 100644 (file)
@@ -140,7 +140,7 @@ console_write(struct file * filp, const char __user * buf, size_t size, loff_t *
 
 
     for (i = 0; i < size; i++) {
-       if (copy_from_user(&(event.scan_code), buf + i, 1)) {
+       if (copy_from_user(&(event.scan_code), buf++, 1)) {
            printk("Console Write fault\n");
            return -EFAULT;
        }
@@ -228,7 +228,7 @@ static int console_connect(struct v3_guest * guest, unsigned int cmd,
        return -1;
     }
 
-    cons_fd = anon_inode_getfd("v3-cons", &cons_fops, cons, O_RDWR);
+    cons_fd = anon_inode_getfd("v3-cons", &cons_fops, cons, 0);
 
     if (cons_fd < 0) {
        printk("Error creating console inode\n");