1. 10 May, 2012 2 commits
  2. 24 Apr, 2012 1 commit
  3. 16 Apr, 2012 1 commit
    • Jan Kiszka's avatar
      Kick io-thread on qemu_chr_accept_input · 98c8ee1d
      Jan Kiszka authored
      Once a chr frontend is able to receive input again, we need to inform
      the io-thread about this fact. Otherwise, main_loop_wait may continue to
      select without the related backend file descriptor in its set. This can
      cause high input latencies if only low-rate events arrive otherwise.
      Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
      98c8ee1d
  4. 24 Feb, 2012 4 commits
  5. 03 Feb, 2012 1 commit
  6. 28 Nov, 2011 1 commit
  7. 11 Nov, 2011 1 commit
  8. 23 Oct, 2011 1 commit
  9. 14 Oct, 2011 1 commit
  10. 04 Oct, 2011 1 commit
  11. 23 Sep, 2011 1 commit
  12. 22 Aug, 2011 13 commits
  13. 20 Aug, 2011 1 commit
  14. 25 Jul, 2011 1 commit
    • Blue Swirl's avatar
      Wrap recv to avoid warnings · 00aa0040
      Blue Swirl authored
      Avoid warnings like these by wrapping recv():
        CC    slirp/ip_icmp.o
      /src/qemu/slirp/ip_icmp.c: In function 'icmp_receive':
      /src/qemu/slirp/ip_icmp.c:418:5: error: passing argument 2 of 'recv' from incompatible pointer type [-Werror]
      /usr/local/lib/gcc/i686-mingw32msvc/4.6.0/../../../../i686-mingw32msvc/include/winsock2.h:547:32: note: expected 'char *' but argument is of type 'struct icmp *'
      
      Remove also casts used to avoid warnings.
      Reviewed-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      00aa0040
  15. 24 Jul, 2011 1 commit
  16. 23 Jul, 2011 2 commits
    • Daniel P. Berrange's avatar
      Introduce a 'client_add' monitor command accepting an open FD · 13661089
      Daniel P. Berrange authored
      Allow client connections for VNC and socket based character
      devices to be passed in over the monitor using SCM_RIGHTS.
      
      One intended usage scenario is to start QEMU with VNC on a
      UNIX domain socket. An unprivileged user which cannot access
      the UNIX domain socket, can then connect to QEMU's VNC server
      by passing an open FD to libvirt, which passes it onto QEMU.
      
       { "execute": "get_fd", "arguments": { "fdname": "myclient" } }
       { "return": {} }
       { "execute": "add_client", "arguments": { "protocol": "vnc",
                                                 "fdname": "myclient",
                                                 "skipauth": true } }
       { "return": {} }
      
      In this case 'protocol' can be 'vnc' or 'spice', or the name
      of a character device (eg from -chardev id=XXXX)
      
      The 'skipauth' parameter can be used to skip any configured
      VNC authentication scheme, which is useful if the mgmt layer
      talking to the monitor has already authenticated the client
      in another way.
      
      * console.h: Define 'vnc_display_add_client' method
      * monitor.c: Implement 'client_add' command
      * qemu-char.c, qemu-char.h: Add 'qemu_char_add_client' method
      * qerror.c, qerror.h: Add QERR_ADD_CLIENT_FAILED
      * qmp-commands.hx: Declare 'client_add' command
      * ui/vnc.c: Implement 'vnc_display_add_client' method
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      13661089
    • Kevin Wolf's avatar
      qemu-char: Print strerror message on failure · 6e1db57b
      Kevin Wolf authored
      The only way for chardev drivers to communicate an error was to return a NULL
      pointer, which resulted in an error message that said _that_ something went
      wrong, but not _why_.
      
      This patch changes the interface to return 0/-errno and updates
      qemu_chr_open_opts to use strerror to display a more helpful error message.
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      6e1db57b
  17. 08 Jun, 2011 1 commit
  18. 27 Apr, 2011 3 commits
  19. 21 Mar, 2011 2 commits
  20. 20 Mar, 2011 1 commit