Skip to content
Snippets Groups Projects
  1. Dec 18, 2019
  2. Dec 17, 2019
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-12-17' into staging · aceeaa69
      Peter Maydell authored
      
      * Removal of the deprecated bluetooth code
      * Some qtest and misc patches
      
      # gpg: Signature made Tue 17 Dec 2019 08:09:08 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/huth-gitlab/tags/pull-request-2019-12-17:
        tests: use g_test_rand_int
        tests/Makefile: Fix check-report.* targets shown in check-help
        glib: use portable g_setenv()
        hw/misc/ivshmem: Bury dead legacy INTx code
        pseries: disable migration-test if /dev/kvm cannot be used
        tests: fix modules-test 'duplicate test case' error
        Remove libbluetooth / bluez from the CI tests
        Remove the core bluetooth code
        hw/usb: Remove the USB bluetooth dongle device
        hw/arm/nseries: Replace the bluetooth chardev with a "null" chardev
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      aceeaa69
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/cleber/tags/python-next-pull-request' into staging · f6e7a97a
      Peter Maydell authored
      
      Python queue 2019-12-17
      
      # gpg: Signature made Tue 17 Dec 2019 05:12:43 GMT
      # gpg:                using RSA key 7ABB96EB8B46B94D5E0FE9BB657E8D33A5F209F3
      # gpg: Good signature from "Cleber Rosa <crosa@redhat.com>" [marginal]
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 7ABB 96EB 8B46 B94D 5E0F  E9BB 657E 8D33 A5F2 09F3
      
      * remotes/cleber/tags/python-next-pull-request:
        python/qemu: Remove unneeded imports in __init__
        python/qemu: accel: Add tcg_available() method
        python/qemu: accel: Strengthen kvm_available() checks
        python/qemu: accel: Add list_accel() method
        python/qemu: Move kvm_available() to its own module
        Acceptance tests: use relative location for tests
        Acceptance tests: use avocado tags for machine type
        Acceptance tests: introduce utility method for tags unique vals
        Acceptance test x86_cpu_model_versions: use default vm
        tests/acceptance: Makes linux_initrd and empty_cpu_model use QEMUMachine
        python/qemu: Add set_qmp_monitor() to QEMUMachine
        analyze-migration.py: replace numpy with python 3.2
        analyze-migration.py: fix find() type error
        Revert "Acceptance test: cancel test if m68k kernel packages goes missing"
        tests/boot_linux_console: Fetch assets from Debian snapshot archives
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      f6e7a97a
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-5.0-20191217' into staging · 98ac38cd
      Peter Maydell authored
      
      ppc patch queue 2019-12-17
      
      This is the first pull request for the qemu-5.0 branch.  It has a lot
      of accumulated changes, including:
      
          * SLOF update to support boot using the IOMMU (will become
            necessary for secure guests)
      
          * Clean ups to pnv handling of chip models
      
          * A number of extensions to the powernv machine model
      
          * TCG extensions to allow powernv emulated systems to run KVM guests
      
          * Outline support for POWER10 chips in powernv
      
          * Cleanups to the ibm,client-architecture-support feature negotiation path
      
          * XIVE reworks to better handle the powernv machine
      
          * Improvements to not waste interrupt queues and other semi-scarce
            resources when using XIVE under KVM
      
      # gpg: Signature made Tue 17 Dec 2019 04:42:20 GMT
      # gpg:                using RSA key 75F46586AE61A66CC44E87DC6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>" [full]
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>" [full]
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>" [full]
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>" [unknown]
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-5.0-20191217: (88 commits)
        pseries: Update SLOF firmware image
        ppc/pnv: Drop PnvChipClass::type
        ppc/pnv: Introduce PnvChipClass::xscom_pcba() method
        ppc/pnv: Drop pnv_chip_is_power9() and pnv_chip_is_power10() helpers
        ppc/pnv: Pass content of the "compatible" property to pnv_dt_xscom()
        ppc/pnv: Pass XSCOM base address and address size to pnv_dt_xscom()
        ppc/pnv: Introduce PnvChipClass::xscom_core_base() method
        ppc/pnv: Introduce PnvChipClass::intc_print_info() method
        ppc/pnv: Drop pnv_is_power9() and pnv_is_power10() helpers
        ppc/pnv: Introduce PnvMachineClass::dt_power_mgt()
        ppc/pnv: Introduce PnvMachineClass and PnvMachineClass::compat
        ppc/pnv: Drop PnvPsiClass::chip_type
        ppc/pnv: Introduce PnvPsiClass::compat
        ppc: Drop useless extern annotation for functions
        ppc/pnv: Fix OCC common area region mapping
        ppc/pnv: Introduce PBA registers
        ppc/pnv: Make PnvXScomInterface an incomplete type
        ppc/pnv: populate the DT with realized XSCOM devices
        ppc/pnv: Loop on the whole hierarchy to populate the DT with the XSCOM nodes
        target/ppc: Add SPR TBU40
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      98ac38cd
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/ehabkost/tags/x86-next-pull-request' into staging · e98e5c35
      Peter Maydell authored
      
      x86 queue, 2019-12-16
      
      Feature:
      * Cooperlake CPU model
      
      Cleanups:
      * Use g_autofree in a few places
      
      # gpg: Signature made Mon 16 Dec 2019 19:36:51 GMT
      # gpg:                using RSA key 5A322FD5ABC4D3DBACCFD1AA2807936F984DC5A6
      # gpg:                issuer "ehabkost@redhat.com"
      # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>" [full]
      # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6
      
      * remotes/ehabkost/tags/x86-next-pull-request:
        i386: Use g_autofree in a few places
        i386: Add new CPU model Cooperlake
        i386: Add macro for stibp
        i386: Add MSR feature bit for MDS-NO
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      e98e5c35
    • Paolo Bonzini's avatar
      tests: use g_test_rand_int · 0f555602
      Paolo Bonzini authored
      
      g_test_rand_int provides a reproducible random integer number, using a
      different number seed every time but allowing reproduction using the
      --seed command line option.  It is thus better suited to tests than
      g_random_int or random.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Message-Id: <1576113478-42926-1-git-send-email-pbonzini@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      0f555602
    • Wainer dos Santos Moschetta's avatar
      tests/Makefile: Fix check-report.* targets shown in check-help · c3088cd3
      Wainer dos Santos Moschetta authored
      
      The check-report.html and check-report.xml targets were replaced
      with check-report.tap in commit 9df43317 but the check-help
      text was not updated so it still lists check-report.html.
      
      Fixes: 9df43317
      Signed-off-by: default avatarWainer dos Santos Moschetta <wainersm@redhat.com>
      Message-Id: <20191211204427.4681-2-wainersm@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      c3088cd3
    • Marc-André Lureau's avatar
      glib: use portable g_setenv() · e468ffdc
      Marc-André Lureau authored
      
      We have a setenv() wrapper in os-win32.c that no one is actually using.
      Drop it and change to g_setenv() uniformly.
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Message-Id: <1576074210-52834-7-git-send-email-pbonzini@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      e468ffdc
    • Markus Armbruster's avatar
      hw/misc/ivshmem: Bury dead legacy INTx code · e858e04d
      Markus Armbruster authored
      
      Devices "ivshmem-plain" and "ivshmem-doorbell" support only MSI-X.
      Config space register Interrupt Pin is zero.  Device "ivshmem"
      additionally supported legacy INTx, but it was removed in commit
      5a0e75f0 "hw/misc/ivshmem: Remove deprecated "ivshmem" legacy
      device".  The commit left ivshmem_update_irq() behind.  Since the
      Interrupt Pin register is zero, the function does nothing.  Remove it.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20191205203557.11254-1-armbru@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      e858e04d
    • Laurent Vivier's avatar
      pseries: disable migration-test if /dev/kvm cannot be used · 1ee5e144
      Laurent Vivier authored
      
      On ppc64, migration-test only works with kvm_hv, and we already
      have a check to verify the module is loaded.
      
      kvm_hv module can be loaded in memory and /sys/module/kvm_hv exists,
      but on some systems (like build systems) /dev/kvm can be missing
      (by administrators choice).
      
      And as kvm_hv exists test-migration is started but QEMU falls back to
      TCG because it cannot be used:
      
          Could not access KVM kernel module: No such file or directory
          failed to initialize KVM: No such file or directory
          Back to tcg accelerator
      
      And as the test is done with TCG, it fails.
      
      As for s390x, we must check for the existence and the access rights
      of /dev/kvm.
      
      Reported-by: default avatarCole Robinson <crobinso@redhat.com>
      Signed-off-by: default avatarLaurent Vivier <lvivier@redhat.com>
      Message-Id: <20191120170955.242900-1-lvivier@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarGreg Kurz <groug@kaod.org>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      1ee5e144
    • Cole Robinson's avatar
      tests: fix modules-test 'duplicate test case' error · eca3a945
      Cole Robinson authored
      
      ./configure --enable-sdl --audio-drv-list=sdl --enable-modules
      
      Will generate two identical test names: /$arch/module/load/sdl
      Which generates an error like:
      
      (tests/modules-test:23814): GLib-ERROR **: 18:23:06.359: duplicate test case path: /aarch64//module/load/sdl
      
      Add the subsystem prefix in the name as well, so instead we get:
      
      /$arch/module/load/audio-sdl
      /$arch/module/load/ui-sdl
      
      Signed-off-by: default avatarCole Robinson <crobinso@redhat.com>
      Message-Id: <d64c9aa098cc6e5c0b638438c4959eddfa7e24e2.1573679311.git.crobinso@redhat.com>
      Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      eca3a945
    • Thomas Huth's avatar
      Remove libbluetooth / bluez from the CI tests · 2831a7e5
      Thomas Huth authored
      
      Since the bluetooth code has been removed, we don't need to test
      with this library anymore.
      
      Message-Id: <20191120091014.16883-5-thuth@redhat.com>
      Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      2831a7e5
    • Thomas Huth's avatar
      Remove the core bluetooth code · 1d4ffe8d
      Thomas Huth authored
      
      It's been deprecated since QEMU v3.1. We've explicitly asked in the
      deprecation message that people should speak up on qemu-devel in case
      they are still actively using the bluetooth part of QEMU, but nobody
      ever replied that they are really still using it.
      
      I've tried it on my own to use this bluetooth subsystem for one of my
      guests, but I was also not able to get it running anymore: When I was
      trying to pass-through a real bluetooth device, either the guest did
      not see the device at all, or the guest crashed.
      
      Even worse for the emulated device: When running
      
       qemu-system-x86_64 -bt device:keyboard
      
      QEMU crashes once you hit a key.
      
      So it seems like the bluetooth stack is not only neglected, it is
      completely bitrotten, as far as I can tell. The only attention that
      this code got during the past years were some CVEs that have been
      spotted there. So this code is a burden for the developers, without
      any real benefit anymore. Time to remove it.
      
      Note: hw/bt/Kconfig only gets cleared but not removed here yet.
      Otherwise there is a problem with the *-softmmu/config-devices.mak.d
      dependency files - they still contain a reference to this file which
      gets evaluated first on some build hosts, before the file gets
      properly recreated. To avoid breaking these builders, we still need
      the file around for some time. It will get removed in a couple of
      weeks instead.
      
      Message-Id: <20191120091014.16883-4-thuth@redhat.com>
      Reviewed-by: default avatarJán Tomko <jtomko@redhat.com>
      Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      1d4ffe8d
    • Alexey Kardashevskiy's avatar
      pseries: Update SLOF firmware image · a363e9ed
      Alexey Kardashevskiy authored
      
      This fixes PCI bridges support regression.
      
      This enables IOMMU support in virtio drivers.
      
      The full list of changes is:
      
      Alexey Kardashevskiy (12):
            allocator: Fix format strings for DEBUG
            virtio: Make virtio_set_qaddr static
            client: Load initramdisk location
            sloffs: Fix -Wunused-result gcc warnings in read/write
            pci-phb: Reimplement dma-map-in/out
            virtio: Store queue descriptors in virtio_device
            virtio-net: Init queues after features negotiation
            virtio: Enable IOMMU
            ibm,client-architecture-support: Fix stack handling
            fdt: Fix updating the tree at H_CAS
            version: update to 20191206
            version: update to 20191217
      
      Michael Roth (1):
            dma: Define default dma methods for using by client/package instances
      
      Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      a363e9ed
  3. Dec 16, 2019
Loading