Skip to content
Snippets Groups Projects
  1. Nov 03, 2020
    • Chetan Pant's avatar
      hw/mips: Fix Lesser GPL version number · d136ecc0
      Chetan Pant authored
      
      There is no "version 2" of the "Lesser" General Public License.
      It is either "GPL version 2.0" or "Lesser GPL version 2.1".
      This patch replaces all occurrences of "Lesser GPL version 2" with
      "Lesser GPL version 2.1" in comment section.
      
      Signed-off-by: default avatarChetan Pant <chetan4windows@gmail.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20201016143509.26692-1-chetan4windows@gmail.com>
      [PMD: Split hw/ vs target/]
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      d136ecc0
    • Philippe Mathieu-Daudé's avatar
      hw/mips: Remove the 'r4k' machine · f169413c
      Philippe Mathieu-Daudé authored
      
      We deprecated the support for the 'r4k' machine for the 5.0 release
      (commit d32dc614), which means that our deprecation policy allows
      us to drop it in release 5.2. Remove the code.
      
      To repeat the rationale from the deprecation note:
      - this virtual machine has no specification
      - the Linux kernel dropped support for it 10 years ago
      
      Users are recommended to use the Malta board instead.
      
      Acked-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      ACKed-by: default avatarPeter Krempa <pkrempa@redhat.com>
      Message-Id: <20201102201311.2220005-1-f4bug@amsat.org>
      f169413c
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2020-10-27-v3-tag' into staging · 83851c7c
      Peter Maydell authored
      
      qemu-ga patch queue for soft-freeze
      
      * add guest-get-disks for w32/linux
      * add guest-{add,remove,get}-authorized-keys
      * fix API violations and schema documentation inconsistencies with
        recently-added guest-get-devices
      
      v3:
      - fix checkpatch errors regarding disallowed usages of g_assert*
        macros and other warnings
      
      v2:
      - fix BSD build error due to missing stub for guest_get_disks
      - fix clang build error on linux due to unused variable
      - disable qga-ssh-test for now due to a memory leak within GLib when
        G_TEST_OPTION_ISOLATE_DIRS is passed to g_test_init() since it
        break Gitlab CI build-oss-fuzz test
      - rebased and re-tested on master
      
      # gpg: Signature made Tue 03 Nov 2020 02:30:50 GMT
      # gpg:                using RSA key CEACC9E15534EBABB82D3FA03353C9CEF108B584
      # gpg:                issuer "michael.roth@amd.com"
      # gpg: Good signature from "Michael Roth <flukshun@gmail.com>" [full]
      # gpg:                 aka "Michael Roth <mdroth@utexas.edu>" [full]
      # gpg:                 aka "Michael Roth <mdroth@linux.vnet.ibm.com>" [full]
      # Primary key fingerprint: CEAC C9E1 5534 EBAB B82D  3FA0 3353 C9CE F108 B584
      
      * remotes/mdroth/tags/qga-pull-2020-10-27-v3-tag:
        qga: add ssh-get-authorized-keys
        meson: minor simplification
        qga: add *reset argument to ssh-add-authorized-keys
        qga: add ssh-{add,remove}-authorized-keys
        glib-compat: add g_unix_get_passwd_entry_qemu()
        qga: add implementation of guest-get-disks for Windows
        qga: add implementation of guest-get-disks for Linux
        qga: add command guest-get-disks
        qga: Flatten simple union GuestDeviceId
        qga-win: Fix guest-get-devices error API violations
        qga: Use common time encoding for guest-get-devices 'driver-date'
        qga: Rename guest-get-devices return member 'address' to 'id'
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      83851c7c
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20201102' into staging · c7a7a877
      Peter Maydell authored
      
      target-arm queue:
       * target/arm: Fix Neon emulation bugs on big-endian hosts
       * target/arm: fix handling of HCR.FB
       * target/arm: fix LORID_EL1 access check
       * disas/capstone: Fix monitor disassembly of >32 bytes
       * hw/arm/smmuv3: Fix potential integer overflow (CID 1432363)
       * hw/arm/boot: fix SVE for EL3 direct kernel boot
       * hw/display/omap_lcdc: Fix potential NULL pointer dereference
       * hw/display/exynos4210_fimd: Fix potential NULL pointer dereference
       * target/arm: Get correct MMU index for other-security-state
       * configure: Test that gio libs from pkg-config work
       * hw/intc/arm_gicv3_cpuif: Make GIC maintenance interrupts work
       * docs: Fix building with Sphinx 3
       * tests/qtest/npcm7xx_rng-test: Disable randomness tests
      
      # gpg: Signature made Mon 02 Nov 2020 17:09:00 GMT
      # gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
      # gpg:                issuer "peter.maydell@linaro.org"
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" [ultimate]
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>" [ultimate]
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>" [ultimate]
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-target-arm-20201102: (26 commits)
        tests/qtest/npcm7xx_rng-test: Disable randomness tests
        qemu-option-trace.rst.inc: Don't use option:: markup
        scripts/kerneldoc: For Sphinx 3 use c:macro for macros with arguments
        hw/intc/arm_gicv3_cpuif: Make GIC maintenance interrupts work
        configure: Test that gio libs from pkg-config work
        target/arm: Get correct MMU index for other-security-state
        hw/display/exynos4210_fimd: Fix potential NULL pointer dereference
        hw/display/omap_lcdc: Fix potential NULL pointer dereference
        hw/arm/boot: fix SVE for EL3 direct kernel boot
        hw/arm/smmuv3: Fix potential integer overflow (CID 1432363)
        disas/capstone: Fix monitor disassembly of >32 bytes
        target/arm: fix LORID_EL1 access check
        target/arm: fix handling of HCR.FB
        target/arm: Fix VUDOT/VSDOT (scalar) on big-endian hosts
        target/arm: Fix float16 pairwise Neon ops on big-endian hosts
        target/arm: Improve do_prewiden_3d
        target/arm: Simplify do_long_3d and do_2scalar_long
        target/arm: Rename neon_load_reg64 to vfp_load_reg64
        target/arm: Add read/write_neon_element64
        target/arm: Rename neon_load_reg32 to vfp_load_reg32
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      c7a7a877
    • Marc-André Lureau's avatar
      qga: add ssh-get-authorized-keys · cad97c08
      Marc-André Lureau authored
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      *fix-up merge conflicts due to qga-ssh-test being disabled in earlier
       patch due to G_TEST_OPTION_ISOLATE_DIRS triggering build-oss-fuzz
       leak detector.
      *fix up style and disallowed g_assert* usage reported by checkpatch
      Signed-off-by: default avatarMichael Roth <michael.roth@amd.com>
      cad97c08
    • Marc-André Lureau's avatar
      2a127f96
    • Michael Roth's avatar
      qga: add *reset argument to ssh-add-authorized-keys · 0e3c9475
      Michael Roth authored
      
      I prefer 'reset' over 'clear', since 'clear' and keys may have some
      other relations or meaning.
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      *fix disallowed g_assert* usage reported by checkpatch
      Signed-off-by: default avatarMichael Roth <michael.roth@amd.com>
      0e3c9475
    • Marc-André Lureau's avatar
      qga: add ssh-{add,remove}-authorized-keys · 8d769ec7
      Marc-André Lureau authored
      Add new commands to add and remove SSH public keys from
      ~/.ssh/authorized_keys.
      
      I took a different approach for testing, including the unit tests right
      with the code. I wanted to overwrite the function to get the user
      details, I couldn't easily do that over QMP. Furthermore, I prefer
      having unit tests very close to the code, and unit files that are domain
      specific (commands-posix is too crowded already). FWIW, that
      coding/testing style is Rust-style (where tests can or should even be
      part of the documentation!).
      
      Fixes:
      https://bugzilla.redhat.com/show_bug.cgi?id=1885332
      
      
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: default avatarMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      *squashed in fix-ups for setting file ownership and use of QAPI
       conditionals for CONFIG_POSIX instead of stub definitions
      *disable qga-ssh-test for now due to G_TEST_OPTION_ISOLATE_DIRS
       triggering leak detector in build-oss-fuzz
      *fix disallowed g_assert* usage reported by checkpatch
      Signed-off-by: default avatarMichael Roth <michael.roth@amd.com>
      8d769ec7
    • Marc-André Lureau's avatar
      glib-compat: add g_unix_get_passwd_entry_qemu() · 6d593ab4
      Marc-André Lureau authored
      
      The glib function was introduced in 2.64. It's a safer version of
      getpwnam, and also simpler to use than getpwnam_r.
      
      Currently, it's only use by the next patch in qemu-ga, which doesn't
      (well well...) need the thread safety guarantees. Since the fallback
      version is still unsafe, I would rather keep the _qemu postfix, to make
      sure it's not being misused by mistake. When/if necessary, we can
      implement a safer fallback and drop the _qemu suffix.
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: default avatarMichal Privoznik <mprivozn@redhat.com>
      *fix checkpatch warnings about newlines before/after block comments
      Signed-off-by: default avatarMichael Roth <michael.roth@amd.com>
      6d593ab4
  2. Nov 02, 2020
Loading