Skip to content
Snippets Groups Projects
  1. Feb 23, 2022
    • Daniel P. Berrangé's avatar
      python: introduce qmp-shell-wrap convenience tool · 43912529
      Daniel P. Berrangé authored
      
      With the current 'qmp-shell' tool developers must first spawn QEMU with
      a suitable -qmp arg and then spawn qmp-shell in a separate terminal
      pointing to the right socket.
      
      With 'qmp-shell-wrap' developers can ignore QMP sockets entirely and
      just pass the QEMU command and arguments they want. The program will
      listen on a UNIX socket and tell QEMU to connect QMP to that.
      
      For example, this:
      
       # qmp-shell-wrap -- qemu-system-x86_64 -display none
      
      Is roughly equivalent of running:
      
       # qemu-system-x86_64 -display none -qmp qmp-shell-1234 &
       # qmp-shell qmp-shell-1234
      
      Except that 'qmp-shell-wrap' switches the socket peers around so that
      it is the UNIX socket server and QEMU is the socket client. This makes
      QEMU reliably go away when qmp-shell-wrap exits, closing the server
      socket.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-id: 20220128161157.36261-2-berrange@redhat.com
      [Edited for rebase. --js]
      Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
      43912529
  2. Feb 22, 2022
    • Peter Maydell's avatar
      Merge remote-tracking branch... · 31e3caf2
      Peter Maydell authored
      Merge remote-tracking branch 'remotes/lvivier-gitlab/tags/trivial-branch-for-7.0-pull-request' into staging
      
      Trivial branch pull request 20220222
      
      # gpg: Signature made Tue 22 Feb 2022 16:16:01 GMT
      # gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
      # gpg:                issuer "laurent@vivier.eu"
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/lvivier-gitlab/tags/trivial-branch-for-7.0-pull-request:
        hid: Implement support for side and extra buttons
        vdpa: Make ncs autofree
        qemu-options: fix incorrect description for '-drive index='
        hw/nvram: use at24 macro
        target/rx: Remove unused ENV_OFFSET definition
        target/avr: Correct AVRCPUClass docstring
        configure: Disable capstone and slirp in the --without-default-features mode
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      31e3caf2
    • Noah Bergbauer's avatar
      hid: Implement support for side and extra buttons · 1e2d5558
      Noah Bergbauer authored
      
      Simply set the respective bits and update the descriptor accordingly.
      
      Signed-off-by: default avatarNoah Bergbauer <noah@statshelix.com>
      Acked-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      Message-Id: <20211126140437.79745-1-noah@statshelix.com>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      1e2d5558
    • Eugenio Pérez's avatar
      vdpa: Make ncs autofree · eb3cb751
      Eugenio Pérez authored
      
      Simplifying memory management.
      
      Signed-off-by: default avatarEugenio Pérez <eperezma@redhat.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20220214193415.1606752-2-eperezma@redhat.com>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      eb3cb751
    • Laurent Vivier's avatar
      qemu-options: fix incorrect description for '-drive index=' · 35aab303
      Laurent Vivier authored
      qemu-options.hx contains grammar that a native English-speaking
      person would never use.
      
      Replace "This option defines where is connected the drive" by
      "This option defines where the drive is connected".
      
      Fixes: https://gitlab.com/qemu-project/qemu/-/issues/853
      
      
      Signed-off-by: default avatarLaurent Vivier <lvivier@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20220202143422.912070-1-lvivier@redhat.com>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      35aab303
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/thuth-gitlab/tags/pull-request-2022-02-21' into staging · 5abccc79
      Peter Maydell authored
      
      * Improve virtio-net failover test
      * Some small fixes for the qtests
      * Misc header cleanups by Philippe
      
      # gpg: Signature made Mon 21 Feb 2022 11:40:37 GMT
      # gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
      # gpg:                issuer "thuth@redhat.com"
      # gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
      # gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
      # gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
      # gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
      # Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5
      
      * remotes/thuth-gitlab/tags/pull-request-2022-02-21: (25 commits)
        hw/tricore: Remove unused and incorrect header
        hw/m68k/mcf: Add missing 'exec/hwaddr.h' header
        exec/exec-all: Move 'qemu/log.h' include in units requiring it
        softmmu/runstate: Clean headers
        linux-user: Add missing "qemu/timer.h" include
        target: Add missing "qemu/timer.h" include
        core/ptimers: Remove unnecessary 'sysemu/cpus.h' include
        exec/ramblock: Add missing includes
        qtest: Add missing 'hw/qdev-core.h' include
        hw/acpi/memory_hotplug: Remove unused 'hw/acpi/pc-hotplug.h' header
        hw/remote: Add missing include
        hw/tpm: Clean includes
        scripts: Remove the old switch-timer-api script
        tests/qtest: failover: migration abort test with failover off
        tests/qtest: failover: test migration if the guest doesn't support failover
        tests/qtest: failover: check migration with failover off
        tests/qtest: failover: check missing guest feature
        tests/qtest: failover: check the feature is correctly provided
        tests/qtest: failover: use a macro for check_one_card()
        tests/qtest: failover: clean up pathname of tests
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      5abccc79
  3. Feb 21, 2022
Loading