components/qemu/patches/qemu-ga.patch
branchoi_151a
changeset 313 3d3a654f57d0
parent 312 b88ea635ba51
child 314 af6efb706a23
equal deleted inserted replaced
312:b88ea635ba51 313:3d3a654f57d0
     1 diff -ruN qemu-0.15.0.orig/qemu-ga.c qemu-0.15.0/qemu-ga.c
       
     2 --- qemu-0.15.0.orig/qemu-ga.c	2011-08-08 19:28:42.000000000 +0100
       
     3 +++ qemu-0.15.0/qemu-ga.c	2011-08-19 15:56:27.785557138 +0100
       
     4 @@ -490,7 +490,7 @@
       
     5  
       
     6      if (strcmp(s->method, "virtio-serial") == 0) {
       
     7          s->virtio = true;
       
     8 -        fd = qemu_open(s->path, O_RDWR | O_NONBLOCK | O_ASYNC);
       
     9 +        fd = qemu_open(s->path, O_RDWR | O_NONBLOCK );
       
    10          if (fd == -1) {
       
    11              g_critical("error opening channel: %s", strerror(errno));
       
    12              exit(EXIT_FAILURE);