Skip to content
Snippets Groups Projects
  1. Jan 08, 2024
  2. Nov 24, 2023
  3. Nov 07, 2023
  4. Nov 01, 2023
  5. Oct 08, 2023
  6. Oct 06, 2023
  7. Oct 03, 2023
  8. Sep 26, 2023
  9. Sep 21, 2023
  10. Sep 08, 2023
  11. Jul 17, 2023
  12. Jul 01, 2023
  13. Jun 27, 2023
    • Marc-André Lureau's avatar
      ui/dbus: win32 support · 6cc5a615
      Marc-André Lureau authored
      
      D-Bus doesn't support fd-passing on Windows (AF_UNIX doesn't have
      SCM_RIGHTS yet, but there are other means to share objects. I have
      proposed various solutions upstream, but none seem fitting enough atm).
      
      To make the "-display dbus" work on Windows, implement an alternative
      D-Bus interface where all the 'h' (FDs) arguments are replaced with
      'ay' (WSASocketW data), and sockets are passed to the other end via
      WSADuplicateSocket().
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20230606115658.677673-6-marcandre.lureau@redhat.com>
      6cc5a615
    • Marc-André Lureau's avatar
      ui/dbus: compile without gio/gunixfdlist.h · 29c5c7e5
      Marc-André Lureau authored
      
      D-Bus on windows doesn't support fd-passing. Let's isolate the
      fdlist-related code as a first step, before adding Windows support,
      using another mechanism.
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20230606115658.677673-4-marcandre.lureau@redhat.com>
      29c5c7e5
  14. Jun 20, 2023
  15. Jun 02, 2023
    • Eric Blake's avatar
      cutils: Adjust signature of parse_uint[_full] · bd1386cc
      Eric Blake authored
      
      It's already confusing that we have two very similar functions for
      wrapping the parse of a 64-bit unsigned value, differing mainly on
      whether they permit leading '-'.  Adjust the signature of parse_uint()
      and parse_uint_full() to be like all of qemu_strto*(): put the result
      parameter last, use the same types (uint64_t and unsigned long long
      have the same width, but are not always the same type), and mark
      endptr const (this latter change only affects the rare caller of
      parse_uint).  Adjust all callers in the tree.
      
      While at it, note that since cutils.c already includes:
      
          QEMU_BUILD_BUG_ON(sizeof(int64_t) != sizeof(long long));
      
      we are guaranteed that the result of parse_uint* cannot exceed
      UINT64_MAX (or the build would have failed), so we can drop
      pre-existing dead comparisons in opts-visitor.c that were never false.
      
      Reviewed-by: default avatarHanna Czenczek <hreitz@redhat.com>
      Message-Id: <20230522190441.64278-8-eblake@redhat.com>
      [eblake: Drop dead code spotted by Markus]
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      bd1386cc
  16. May 05, 2023
    • Dorinda Bassey's avatar
      audio/pwaudio.c: Add Pipewire audio backend for QEMU · c2d3d1c2
      Dorinda Bassey authored
      
      This commit adds a new audiodev backend to allow QEMU to use Pipewire as
      both an audio sink and source. This backend is available on most systems
      
      Add Pipewire entry points for QEMU Pipewire audio backend
      Add wrappers for QEMU Pipewire audio backend in qpw_pcm_ops()
      qpw_write function returns the current state of the stream to pwaudio
      and Writes some data to the server for playback streams using pipewire
      spa_ringbuffer implementation.
      qpw_read function returns the current state of the stream to pwaudio and
      reads some data from the server for capture streams using pipewire
      spa_ringbuffer implementation. These functions qpw_write and qpw_read
      are called during playback and capture.
      Added some functions that convert pw audio formats to QEMU audio format
      and vice versa which would be needed in the pipewire audio sink and
      source functions qpw_init_in() & qpw_init_out().
      These methods that implement playback and recording will create streams
      for playback and capture that will start processing and will result in
      the on_process callbacks to be called.
      Built a connection to the Pipewire sound system server in the
      qpw_audio_init() method.
      
      Signed-off-by: default avatarDorinda Bassey <dbassey@redhat.com>
      Reviewed-by: default avatarVolker Rümelin <vr_qemu@t-online.de>
      Message-Id: <20230417105654.32328-1-dbassey@redhat.com>
      Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      c2d3d1c2
Loading