1. 20 Feb, 2011 1 commit
  2. 01 Feb, 2011 5 commits
  3. 24 Jan, 2011 1 commit
    • Alon Levy's avatar
      spice: add chardev (v5) · cbcc6336
      Alon Levy authored
      Adding a chardev backend for spice, where spice determines what
      to do with it based on the name attribute given during chardev creation.
      For usage by spice vdagent in conjunction with a properly named
      virtio-serial device, and future smartcard channel usage.
      Example usage:
       qemu -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent \
       -device virtserialport,chardev=vdagent,name=com.redhat.spice.0
       * add tracing events
       * fix missing comma
       * fix help string to show debug is optional
       * updated commit message
      v1->v3 changes: (v2 had a wrong commit message)
       * removed spice-qemu-char.h, folded into ui/qemu-spice.h
       * removed dead IOCTL code
       * removed comment
       * removed ifdef CONFIG_SPICE from qemu-config.c and qemu-options.hx help.
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
  4. 17 Nov, 2010 1 commit
    • Luiz Capitulino's avatar
      qemu-char: Introduce Memory driver · 999bd67c
      Luiz Capitulino authored
      This driver handles in-memory chardev operations. That's, all writes
      to this driver are stored in an internal buffer and it doesn't talk
      to the external world in any way.
      Right now it's very simple: it supports only writes. But it can be
      easily extended to support more operations.
      This is going to be used by the monitor's "HMP passthrough via QMP"
      feature, which needs to run monitor handlers without a backing
      Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
  5. 03 Nov, 2010 1 commit
  6. 22 Aug, 2010 1 commit
  7. 15 Aug, 2010 1 commit
  8. 10 Aug, 2010 1 commit
    • Cam Macdonell's avatar
      RESEND: Inter-VM shared memory PCI device · 6cbf4c8c
      Cam Macdonell authored
      resend for bug fix related to removal of irqfd
      Support an inter-vm shared memory device that maps a shared-memory object as a
      PCI device in the guest.  This patch also supports interrupts between guest by
      communicating over a unix domain socket.  This patch applies to the qemu-kvm
          -device ivshmem,size=<size in format accepted by -m>[,shm=<shm name>]
      Interrupts are supported between multiple VMs by using a shared memory server
      by using a chardev socket.
          -device ivshmem,size=<size in format accepted by -m>[,shm=<shm name>]
          -chardev socket,path=<path>,id=<id>
      The shared memory server, sample programs and init scripts are in a git repo here:
      Signed-off-by: default avatarCam Macdonell <cam@cs.ualberta.ca>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
  9. 15 Jun, 2010 1 commit
  10. 04 Jun, 2010 1 commit
  11. 01 Jun, 2010 1 commit
  12. 26 Apr, 2010 1 commit
  13. 09 Apr, 2010 1 commit
    • Alexander Graf's avatar
      Always notify consumers of char devices if they're open · 73cdf3f2
      Alexander Graf authored
      When using virtio-console on s390, the input doesn't work.
      The root of the problem is rather simple. What happens is the following:
       1) create character device for stdio
       2) char device is done creating, sends OPENED event
       3) virtio-console adds handlers
       4) no event comes because the char device is open already
       5) virtio-console doesn't accept input because it didn't
          receive an OPENED event
      To make that sure virtio-console gets notified that the character device
      is open even when it's been open from the beginning, this patch introduces
      a variable that keeps track of the opened state. If the device is open when
      the event handlers get installed, we just notify the handler.
      This fixes input with virtio-console on s390.
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      Acked-by: default avatarAmit Shah <amit.shah@redhat.com>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
  14. 08 Apr, 2010 1 commit
  15. 31 Mar, 2010 1 commit
  16. 30 Mar, 2010 1 commit
  17. 21 Mar, 2010 1 commit
  18. 19 Mar, 2010 2 commits
  19. 14 Mar, 2010 1 commit
  20. 09 Mar, 2010 1 commit
  21. 28 Feb, 2010 1 commit
  22. 22 Feb, 2010 1 commit
    • David Ahern's avatar
      add close callback for tty-based char device · 4266a134
      David Ahern authored
      v1 -> v2  coding style changes
      Add a tty close callback. Right now if a guest device that is connected
      to a tty-based chardev in the host is removed, the tty is not closed.
      With this patch it is closed.
      Example use case is connecting an emulated USB serial cable in the guest
      to ttyS0 of the host using the monitor command:
      usb_add serial::/dev/ttyS0
      and then removing the device with:
      usb_del serial::/dev/ttyS0
      Signed-off-by: default avatarDavid Ahern <daahern@cisco.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
  23. 10 Feb, 2010 1 commit
  24. 19 Jan, 2010 1 commit
  25. 12 Dec, 2009 2 commits
  26. 03 Dec, 2009 1 commit
  27. 30 Nov, 2009 1 commit
  28. 29 Nov, 2009 1 commit
  29. 17 Nov, 2009 3 commits
  30. 30 Oct, 2009 1 commit
  31. 27 Oct, 2009 2 commits