1. 13 3月, 2019 30 次提交
  2. 12 3月, 2019 10 次提交
    • P
      Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging · 2cb73afa
      Peter Maydell 提交于
      Machine queue, 2019-03-11
      
      * memfd fixes (Ilya Maximets)
      * Move nvdimms state into struct MachineState (Eric Auger)
      * hostmem-file: reject invalid pmem file sizes (Stefan Hajnoczi)
      
      # gpg: Signature made Tue 12 Mar 2019 00:57:41 GMT
      # gpg:                using RSA key 2807936F984DC5A6
      # 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/machine-next-pull-request:
        memfd: improve error messages
        memfd: set up correct errno if not supported
        memfd: always check for MFD_CLOEXEC
        hostmem-memfd: disable for systems without sealing support
        machine: Move nvdimms state into struct MachineState
        nvdimm: Rename AcpiNVDIMMState into NVDIMMState
        hostmem-file: reject invalid pmem file sizes
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      2cb73afa
    • P
      Merge remote-tracking branch 'remotes/awilliam/tags/vfio-updates-20190311.0' into staging · 46316f1d
      Peter Maydell 提交于
      VFIO updates 2019-03-11
      
       - Resolution support for mdev displays supporting EDID interface
         (Gerd Hoffmann)
      
      # gpg: Signature made Mon 11 Mar 2019 19:17:39 GMT
      # gpg:                using RSA key 239B9B6E3BB08B22
      # gpg: Good signature from "Alex Williamson <alex.williamson@redhat.com>" [full]
      # gpg:                 aka "Alex Williamson <alex@shazbot.org>" [full]
      # gpg:                 aka "Alex Williamson <alwillia@redhat.com>" [full]
      # gpg:                 aka "Alex Williamson <alex.l.williamson@gmail.com>" [full]
      # Primary key fingerprint: 42F6 C04E 540B D1A9 9E7B  8A90 239B 9B6E 3BB0 8B22
      
      * remotes/awilliam/tags/vfio-updates-20190311.0:
        vfio/display: delay link up event
        vfio/display: add xres + yres properties
        vfio/display: add edid support.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      46316f1d
    • P
      Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-pull-request' into staging · a6d3c238
      Peter Maydell 提交于
      fw_cfg and thunk code clean up
      
      # gpg: Signature made Mon 11 Mar 2019 19:11:03 GMT
      # gpg:                using RSA key F30C38BD3F2FBE3C
      # 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/vivier2/tags/trivial-branch-pull-request:
        hw/nvram/fw_cfg: Use the ldst API
        hw/arm/virt: Remove null-check in virt_build_smbios()
        hw/i386: Remove unused include
        hw/nvram/fw_cfg: Remove the unnecessary boot_splash_filedata_size
        thunk: improve readability of allocation loop
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a6d3c238
    • P
      Merge remote-tracking branch 'remotes/armbru/tags/pull-pflash-2019-03-11' into staging · eda1df03
      Peter Maydell 提交于
      Pflash and firmware configuration patches for 2019-03-11
      
      # gpg: Signature made Mon 11 Mar 2019 21:59:12 GMT
      # gpg:                using RSA key 3870B400EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full]
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>" [full]
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * remotes/armbru/tags/pull-pflash-2019-03-11: (27 commits)
        docs/interop/firmware.json: Prefer -machine to if=pflash
        pc: Support firmware configuration with -blockdev
        pc_sysfw: Pass PCMachineState to pc_system_firmware_init()
        pc_sysfw: Remove unused PcSysFwDevice
        pflash_cfi01: Add pflash_cfi01_get_blk() helper
        vl: Create block backends before setting machine properties
        vl: Factor configure_blockdev() out of main()
        vl: Improve legibility of BlockdevOptions queue
        sysbus: Fix latent bug with onboard devices
        vl: Fix latent bug with -global and onboard devices
        qom: Move compat_props machinery from qdev to QOM
        qdev: Fix latent bug with compat_props and onboard devices
        pflash: Clean up after commit 368a354f, part 2
        pflash: Clean up after commit 368a354f, part 1
        mips_malta: Clean up definition of flash memory size somewhat
        hw/mips/malta: Restrict 'bios_size' variable scope
        hw/mips/malta: Remove fl_sectors variable
        mips_malta: Delete disabled, broken DEBUG_BOARD_INIT code
        r2d: Fix flash memory size, sector size, width, device ID
        ppc405_boards: Don't size flash memory to match backing image
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      eda1df03
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-4.0-20190312' into staging · bc76b714
      Peter Maydell 提交于
      ppc patch queue for 2019-03-10
      
      This pull requests supersedes ppc-for-4.0-20190310.  Changes are:
       * Fixed a bunch of minor style problems
       * Suppressed warnings about Spectre/Meltdown mitigations with TCG
       * Added one more patch, a preliminary fix towards the not-quite-ready
         support for NVLink VFIO passthrough.
      
      This is a final pull request before the 4.0 soft freeze.  Changes
      include:
        * A Great Renaming to use camel case properly in spapr code
        * Optimization of some vector instructions
        * Support for POWER9 cpus in the powernv machine
        * Fixes a regression from the last pull request in handling VSX
          instructions with mixed operands from the FPR and VMX parts of the
          register array
        * Optimization hack to avoid scanning all the (empty) entries on a
          new IOMMU window
        * Add FSL I2C controller model for E500
        * Support for KVM acceleration of the H_PAGE_INIT hypercall on spapr
        * Update u-boot image for E500
        * Enable Specre/Meltdown mitigations by default on the new machine type
        * Enable large decrementer support for POWER9
      
      # gpg: Signature made Tue 12 Mar 2019 08:14:51 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-20190312: (62 commits)
        vfio: Make vfio_get_region_info_cap public
        Suppress test warnings about missing Spectre/Meltdown mitigations with TCG
        spapr: Use CamelCase properly
        target/ppc: Optimize x[sv]xsigdp using deposit_i64()
        target/ppc: Optimize xviexpdp() using deposit_i64()
        target/ppc: add HV support for POWER9
        ppc/pnv: add a "ibm,opal/power-mgt" device tree node on POWER9
        ppc/pnv: add more dummy XSCOM addresses
        ppc/pnv: activate XSCOM tests for POWER9
        ppc/pnv: POWER9 XSCOM quad support
        ppc/pnv: extend XSCOM core support for POWER9
        ppc/pnv: add a OCC model for POWER9
        ppc/pnv: add a OCC model class
        ppc/pnv: add SerIRQ routing registers
        ppc/pnv: add a LPC Controller model for POWER9
        ppc/pnv: add a 'dt_isa_nodename' to the chip
        ppc/pnv: add a LPC Controller class model
        ppc/pnv: lpc: fix OPB address ranges
        ppc/pnv: add a PSI bridge model for POWER9
        ppc/pnv: add a PSI bridge class model
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      bc76b714
    • A
      scripts/qemugdb: re-license timers.py to GPLv2 or later · 390947ed
      Alex Bennée 提交于
      I'm the sole author (aside from a one line by Greg fixing encoding)
      and I was asked nicely on IRC to bring it into line with the rest of
      the files.
      
      Cc: Greg Kurz <groug@kaod.org>
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      390947ed
    • T
      hw/sd/sdhci: Move PCI-related code into a separate file · ce864603
      Thomas Huth 提交于
      Some machines have an SDHCI device, but no PCI. To be able to
      compile hw/sd/sdhci.c without CONFIG_PCI, we must not call functions
      like pci_get_address_space() and pci_allocate_irq() there. Thus
      move the PCI-related code into a separate file.
      
      This is required for the new Kconfig-like build system, e.g. it is
      needed if a user wants to compile a QEMU binary with just one machine
      that has SDHCI, but no PCI, like the ARM "raspi" machines for example.
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      ce864603
    • E
      ahci-test: Drop dependence on global_qtest · a189a937
      Eric Blake 提交于
      Managing parallel connections to two different monitors via
      the implicit global_qtest makes it hard to copy-and-paste code
      to tests that are not aware of the implicit state; the
      management of global_qtest is even harder to follow because
      it was masked behind set_context().
      
      Instead, explicitly pass QTestState* around (generally, by
      reusing the member already present in ahci->parent QOSState),
      and call explicit qtest_* functions on all places that
      interact with a monitor.
      
      We can assert that the conversion is correct by checking that
      global_qtest remains NULL throughout the test (a later patch
      that changes global_qtest to not be a public global variable
      will drop the assertions).
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Acked-by: NJohn Snow <jsnow@redhat.com>
      [thuth: rebased patch to current master branch]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      a189a937
    • L
      tests: test-announce-self: fix memory leak · 6415c2d0
      Li Qiang 提交于
      Spotted by ASAN while running 'make check'.
      
      Fixes: 4b9b7000 ("tests: Add a test for qemu self announcements")
      Suggested-by: NThomas Huth <thuth@redhat.com>
      Signed-off-by: NLi Qiang <liq3ea@163.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      6415c2d0
    • A
      vfio: Make vfio_get_region_info_cap public · 013002f0
      Alexey Kardashevskiy 提交于
      This makes vfio_get_region_info_cap() to be used in quirks.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Acked-by: NAlex Williamson <alex.williamson@redhat.com>
      Message-Id: <20190307050518.64968-3-aik@ozlabs.ru>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      013002f0