1. 17 12月, 2018 5 次提交
    • E
      tests/acpi-utils: Drop dependence on global_qtest · 273e3d92
      Eric Blake 提交于
      As a general rule, we prefer avoiding implicit global state
      because it makes code harder to safely copy and paste without
      thinking about the global state.  Adjust the helper code to
      use explicit state instead, and update all callers.
      
      bios-tables-test no longer depends on global_qtest, now that it
      passes explicit state through the testsuite data; an assert
      proves this fact (although we will get rid of it later, once
      global_qtest is gone).
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Acked-by: NIgor Mammedov <imammedo@redhat.com>
      Tested-by: NIgor Mammedov <imammedo@redhat.com>
      [thuth: adapted patch to current master branch]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      273e3d92
    • E
      ivshmem-test: Drop dependence on global_qtest · 24c01ffa
      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.  Since we
      have already fixed qpci to avoid global_qtest, we can now
      simplify by not using global_qtest anywhere in ivshmem-test.
      
      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>
      [thuth: Dropped the changes to test_ivshmem_hotplug() - will be fixed later]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      24c01ffa
    • T
      tests/libqos/pci: Make PCI access functions independent of global_qtest · d786f782
      Thomas Huth 提交于
      QPCIBus already tracks QTestState, so use that state instead of an
      implicit reliance on global_qtest.
      
      Based on an earlier patch ("libqos: Use explicit QTestState for pci
      operations") from Eric Blake.
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      d786f782
    • A
      .shippable.yml: disable the win cross tests · 139108f6
      Alex Bennée 提交于
      The pkg.mxe.cc package repositories have been down for the last two
      weeks causing the builds to fail when shippable re-builds the
      containers.
      
      This is really just a sticking plaster until we can get our own docker
      hub images properly setup so we can avoid having dependencies on
      external repos.
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      Acked-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-id: 20181214151718.5041-1-alex.bennee@linaro.org
      Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      139108f6
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-misc-20181214' into staging · b019f5e5
      Peter Maydell 提交于
      miscellaneous patches:
       * checkpatch.pl: Enforce multiline comment syntax
       * Rename cpu_physical_memory_write_rom() to address_space_write_rom()
       * disas, monitor, elf_ops: Use address_space_read() to read memory
       * Remove load_image() in favour of load_image_size()
       * Fix some minor memory leaks in arm boards/devices
       * virt: fix broken indentation
      
      # gpg: Signature made Fri 14 Dec 2018 14:41:20 GMT
      # gpg:                using RSA key 3C2525ED14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>"
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>"
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-misc-20181214: (22 commits)
        virt: Fix broken indentation
        target/arm: Create timers in realize, not init
        tests/test-arm-mptimer: Don't leak string memory
        hw/sd/sdhci: Don't leak memory region in sdhci_sysbus_realize()
        hw/arm/mps2-tz.c: Free mscname string in make_dma()
        target/arm: Free name string in ARMCPRegInfo hashtable entries
        include/hw/loader.h: Document load_image_size()
        hw/core/loader.c: Remove load_image()
        device_tree.c: Don't use load_image()
        hw/block/tc58128.c: Don't use load_image()
        hw/i386/multiboot.c: Don't use load_image()
        hw/i386/pc.c: Don't use load_image()
        hw/pci/pci.c: Don't use load_image()
        hw/smbios/smbios.c: Don't use load_image()
        hw/ppc/ppc405_boards: Don't use load_image()
        hw/ppc/mac_newworld, mac_oldworld: Don't use load_image()
        elf_ops.h: Use address_space_write() to write memory
        monitor: Use address_space_read() to read memory
        disas.c: Use address_space_read() to read memory
        Rename cpu_physical_memory_write_rom() to address_space_write_rom()
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b019f5e5
  2. 16 12月, 2018 3 次提交
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 58b1f0f2
      Peter Maydell 提交于
      Block layer patches:
      
      - qcow2: Decompression worker threads
      - dmg: lzfse compression support
      - file-posix: Simplify delegation to worker thread
      - Don't pass flags to bdrv_reopen_queue()
      - iotests: make 235 work on s390 (and others)
      
      # gpg: Signature made Fri 14 Dec 2018 10:55:09 GMT
      # gpg:                using RSA key 7F09B272C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      # Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6
      
      * remotes/kevin/tags/for-upstream: (42 commits)
        block/mirror: add missing coroutine_fn annotations
        iotests: make 235 work on s390 (and others)
        block: Assert that flags are up-to-date in bdrv_reopen_prepare()
        block: Remove assertions from update_flags_from_options()
        block: Stop passing flags to bdrv_reopen_queue_child()
        block: Remove flags parameter from bdrv_reopen_queue()
        block: Clean up reopen_backing_file() in block/replication.c
        qemu-io: Put flag changes in the options QDict in reopen_f()
        block: Drop bdrv_reopen()
        block: Use bdrv_reopen_set_read_only() in the mirror driver
        block: Use bdrv_reopen_set_read_only() in external_snapshot_commit()
        block: Use bdrv_reopen_set_read_only() in qmp_change_backing_file()
        block: Use bdrv_reopen_set_read_only() in stream_start/complete()
        block: Use bdrv_reopen_set_read_only() in bdrv_commit()
        block: Use bdrv_reopen_set_read_only() in commit_start/complete()
        block: Use bdrv_reopen_set_read_only() in bdrv_backing_update_filename()
        block: Add bdrv_reopen_set_read_only()
        file-posix: Avoid aio_worker() for QEMU_AIO_IOCTL
        file-posix: Switch to .bdrv_co_ioctl
        file-posix: Remove paio_submit_co()
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      58b1f0f2
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/usb-20181214-pull-request' into staging · 3866e6be
      Peter Maydell 提交于
      usb: fixes for mtp, ehci, usb-host and pvusb (xen).
      
      # gpg: Signature made Fri 14 Dec 2018 10:38:33 GMT
      # gpg:                using RSA key 4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/usb-20181214-pull-request:
        usb-mtp: Limit filename to object information size
        usb-mtp: use O_NOFOLLOW and O_CLOEXEC.
        ehci: fix fetch qtd race
        usb-host: reset and close libusb_device_handle before qemu exit
        pvusb: set max grants only in initialise
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3866e6be
    • P
      Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2018-12-13-v2' into staging · 81781be3
      Peter Maydell 提交于
      QAPI patches for 2018-12-13
      
      # gpg: Signature made Fri 14 Dec 2018 05:53:51 GMT
      # gpg:                using RSA key 3870B400EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * remotes/armbru/tags/pull-qapi-2018-12-13-v2: (32 commits)
        qapi: add conditions to REPLICATION type/commands on the schema
        qapi: add more conditions to SPICE
        qapi: add condition to variants documentation
        qapi: add 'If:' condition to struct members documentation
        qapi: add 'If:' condition to enum values documentation
        qapi: Add #if conditions to generated code members
        qapi: add 'if' to alternate members
        qapi: add 'if' to union members
        qapi: Add 'if' to implicit struct members
        qapi: add a dictionary form for TYPE
        qapi-events: add 'if' condition to implicit event enum
        qapi: add 'if' to enum members
        qapi: add a dictionary form with 'name' key for enum members
        qapi: improve reporting of unknown or missing keys
        qapi: factor out checking for keys
        tests: print enum type members more like object type members
        qapi: change enum visitor and gen_enum* to take QAPISchemaMember
        qapi: Do not define enumeration value explicitly
        qapi: break long lines at 'data' member
        qapi: rename QAPISchemaEnumType.values to .members
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      81781be3
  3. 15 12月, 2018 2 次提交
    • P
      Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging · d058a37a
      Peter Maydell 提交于
      Most notable change in this PR is the full removal of the "handle" fsdev
      backend.
      
      # gpg: Signature made Wed 12 Dec 2018 13:20:42 GMT
      # gpg:                using RSA key 71D4D5E5822F73D6
      # gpg: Good signature from "Greg Kurz <groug@kaod.org>"
      # gpg:                 aka "Gregory Kurz <gregory.kurz@free.fr>"
      # gpg:                 aka "[jpeg image of size 3330]"
      # Primary key fingerprint: B482 8BAF 9431 40CE F2A3  4910 71D4 D5E5 822F 73D6
      
      * remotes/gkurz/tags/for-upstream:
        9p: remove support for the "handle" backend
        xen/9pfs: use g_new(T, n) instead of g_malloc(sizeof(T) * n)
        9p: use g_new(T, n) instead of g_malloc(sizeof(T) * n)
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d058a37a
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20181213' into staging · 110b1a8c
      Peter Maydell 提交于
      target-arm queue:
       * Convert various devices from sysbus init to instance_init
       * Remove the now unused sysbus init support entirely
       * Allow AArch64 processors to boot from a kernel placed over 4GB
       * hw: arm: musicpal: drop TYPE_WM8750 in object_property_set_link()
       * versal: minor fixes to virtio-mmio instantation
       * arm: Implement the ARMv8.1-HPD extension
       * arm: Implement the ARMv8.2-AA32HPD extension
       * arm: Implement the ARMv8.1-LOR extension (as the trivial
         "no limited ordering regions provided" minimum)
      
      # gpg: Signature made Thu 13 Dec 2018 14:52:25 GMT
      # gpg:                using RSA key 3C2525ED14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>"
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>"
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-target-arm-20181213: (37 commits)
        target/arm: Implement the ARMv8.1-LOR extension
        target/arm: Use arm_hcr_el2_eff more places
        target/arm: Introduce arm_hcr_el2_eff
        target/arm: Implement the ARMv8.2-AA32HPD extension
        target/arm: Implement the ARMv8.1-HPD extension
        target/arm: Tidy scr_write
        target/arm: Fix HCR_EL2.TGE check in arm_phys_excp_target_el
        target/arm: Add SCR_EL3 bits up to ARMv8.5
        target/arm: Add HCR_EL2 bits up to ARMv8.5
        target/arm: Move id_aa64mmfr* to ARMISARegisters
        hw/arm: versal: Correct the nr of IRQs to 192
        hw/arm: versal: Use IRQs 111 - 118 for virtio-mmio
        hw/arm: versal: Reduce number of virtio-mmio instances
        hw/arm: versal: Remove bogus virtio-mmio creation
        core/sysbus: remove the SysBusDeviceClass::init path
        xen_backend: remove xen_sysdev_init() function
        usb/tusb6010: Convert sysbus init function to realize function
        timer/puv3_ost: Convert sysbus init function to realize function
        timer/grlib_gptimer: Convert sysbus init function to realize function
        timer/etraxfs_timer: Convert sysbus init function to realize function
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      110b1a8c
  4. 14 12月, 2018 30 次提交