1. 05 2月, 2019 32 次提交
  2. 04 2月, 2019 8 次提交
    • T
      tests/docker/test-mingw and docs: Remove --with-sdlabi=2.0 · 335dbb5d
      Thomas Huth 提交于
      Patchew currently reports failures with the mingw docker test - this
      is due to --with-sdlabi=2.0 configure flag which does not exist anymore.
      Remove this remainder from the docker test and the docs now.
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Tested-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Acked-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-id: 1549268743-18502-1-git-send-email-thuth@redhat.com
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      335dbb5d
    • P
      Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190204' into staging · f3b4d5ca
      Peter Maydell 提交于
      Xen queue
      
      * xen-block, the Xen PV backend, now handles resize.
      * configure cleanup.
      * xen-bus fix.
      
      # gpg: Signature made Mon 04 Feb 2019 11:16:13 GMT
      # gpg:                using RSA key F80C006308E22CFD8A92E7980CF5572FD7FB55AF
      # gpg:                issuer "anthony.perard@citrix.com"
      # gpg: Good signature from "Anthony PERARD <anthony.perard@gmail.com>" [marginal]
      # gpg:                 aka "Anthony PERARD <anthony.perard@citrix.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: 5379 2F71 024C 600F 778A  7161 D8D5 7199 DF83 42C8
      #      Subkey fingerprint: F80C 0063 08E2 2CFD 8A92  E798 0CF5 572F D7FB 55AF
      
      * remotes/aperard/tags/pull-xen-20190204:
        xen-block: handle resize callback
        xen: fix xen-bus state model to allow frontend re-connection
        configure: Don't add Xen's libs to LDFLAGS
        configure: xen: Stop build-testing for xc_domain_create
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f3b4d5ca
    • P
      xen-block: handle resize callback · 3149f183
      Paul Durrant 提交于
      Some frontend drivers will handle dynamic resizing of PV disks, so set up
      the BlockDevOps resize_cb() method during xen_block_realize() to allow
      this to be done.
      Signed-off-by: NPaul Durrant <paul.durrant@citrix.com>
      Reviewed-by: NAnthony PERARD <anthony.perard@citrix.com>
      Signed-off-by: NAnthony PERARD <anthony.perard@citrix.com>
      3149f183
    • P
      xen: fix xen-bus state model to allow frontend re-connection · 67bc8e00
      Paul Durrant 提交于
      There is a flaw in the xen-bus state model. To allow a frontend to re-
      connect the backend state of an online XenDevice is transitioned from
      Closed to InitWait, but this is currently done unilaterally which is
      incorrect. The backend state should remain Closed until the frontend state
      transitions to Initialising.
      
      This patch removes the automatic backend state transition from
      xen_device_backend_state_changed() and, instead, adds an extra check in
      xen_device_frontend_state_changed() to determine whether a frontend is
      trying to re-connect to a previously Closed XenDevice. Only if this is
      found to be the case is the backend state transitioned from Closed to
      InitWait. Note that this transition will be common amongst all XenDevice
      classes and hence xen_device_frontend_state_changed() returns immediately
      afterwards without calling into the XenDeviceClass frontend_changed()
      method.
      Signed-off-by: NPaul Durrant <paul.durrant@citrix.com>
      Acked-by: NAnthony PERARD <anthony.perard@citrix.com>
      Signed-off-by: NAnthony PERARD <anthony.perard@citrix.com>
      67bc8e00
    • A
      configure: Don't add Xen's libs to LDFLAGS · 17d8825d
      Anthony PERARD 提交于
      When Xen is detected via pkg-config, it isn't necessary to modify
      LDFLAGS as modifying libs_softmmu is enough.
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      Signed-off-by: NAnthony PERARD <anthony.perard@citrix.com>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NMichael Tokarev <mjt@tls.msk.ru>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      17d8825d
    • A
      configure: xen: Stop build-testing for xc_domain_create · 2e0e0d41
      Anthony PERARD 提交于
      Its last uses was removed by: 6d7c06c2
      "Remove broken Xen PV domain builder".
      Signed-off-by: NAnthony PERARD <anthony.perard@citrix.com>
      Reviewed-by: NPaul Durrant <paul.durrant@citrix.com>
      2e0e0d41
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-4.0-20190204' into staging · a61faa3d
      Peter Maydell 提交于
      ppc patch queue 2019-02-04
      
      Here's the next batch of ppc target and spapr related changes.
      Highlights are:
       * A number of endianness handling cleanups from Mark Cave-Ayland
       * Updated Mac VGA driver
       * Updated SLOF image
       * Some XIVE cleanups and small fixes
       * ppc4xx cleanups and fixes from BALATON Zoltan
      
      There are a few chances not technically in the ppc target code:
       * Several MAINTAINERS updates
       * Fixes for unmapping of hugepages on power hosts
      
      The latter is included because it's primarily of interest for ppc KVM setups.
      
      # gpg: Signature made Mon 04 Feb 2019 07:52:26 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-4.0-20190204: (37 commits)
        mmap-alloc: fix hugetlbfs misaligned length in ppc64
        mmap-alloc: unfold qemu_ram_mmap()
        hw/ppc: Don't include m48t59.h if it is not necessary
        spapr_pci: Fix endianness in assigned-addresses property
        target/ppc: remove various HOST_WORDS_BIGENDIAN hacks in int_helper.c
        target/ppc: remove ROTRu32 and ROTRu64 macros from int_helper.c
        target/ppc: simplify VEXT_SIGNED macro in int_helper.c
        target/ppc: eliminate use of EL_IDX macros from int_helper.c
        target/ppc: eliminate use of HI_IDX and LO_IDX macros from int_helper.c
        target/ppc: rework vmul{e,o}{s,u}{b,h,w} instructions to use Vsr* macros
        target/ppc: rework vmrg{l,h}{b,h,w} instructions to use Vsr* macros
        hw/ppc/spapr: Add support for "-vga cirrus"
        QemuMacDrivers: update qemu_vga.ndrv to 90c488d built from submodule
        MAINTAINERS: add myself as maintainer for Mac Old World and New World machines
        spapr: Drop unused parameters from fdt building helper
        MAINTAINERS: Merge the two e500 sections
        MAINTAINERS: XIVE is an interrupt controller, not a machine
        hw/ppc: Move ppc40x_*reset() functions from ppc405_uc.c to ppc.c
        ppc: remove the interrupt presenters from under PowerPCCPU
        target/ppc: implement complete set of Vsr* macros
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a61faa3d
    • M
      mmap-alloc: fix hugetlbfs misaligned length in ppc64 · 53adb9d4
      Murilo Opsfelder Araujo 提交于
      The commit 7197fb40 ("util/mmap-alloc:
      fix hugetlb support on ppc64") fixed Huge TLB mappings on ppc64.
      
      However, we still need to consider the underlying huge page size
      during munmap() because it requires that both address and length be a
      multiple of the underlying huge page size for Huge TLB mappings.
      Quote from "Huge page (Huge TLB) mappings" paragraph under NOTES
      section of the munmap(2) manual:
      
        "For munmap(), addr and length must both be a multiple of the
        underlying huge page size."
      
      On ppc64, the munmap() in qemu_ram_munmap() does not work for Huge TLB
      mappings because the mapped segment can be aligned with the underlying
      huge page size, not aligned with the native system page size, as
      returned by getpagesize().
      
      This has the side effect of not releasing huge pages back to the pool
      after a hugetlbfs file-backed memory device is hot-unplugged.
      
      This patch fixes the situation in qemu_ram_mmap() and
      qemu_ram_munmap() by considering the underlying page size on ppc64.
      
      After this patch, memory hot-unplug releases huge pages back to the
      pool.
      
      Fixes: 7197fb40Signed-off-by: NMurilo Opsfelder Araujo <muriloo@linux.ibm.com>
      Reviewed-by: NGreg Kurz <groug@kaod.org>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      53adb9d4