1. 06 11月, 2018 3 次提交
    • B
      oslib-posix: Use MAP_STACK in qemu_alloc_stack() on OpenBSD · fc3d1bad
      Brad Smith 提交于
      Use MAP_STACK in qemu_alloc_stack() on OpenBSD.
      
      Added to our 6.4 release.
      
      MAP_STACK      Indicate that the mapping is used as a stack.  This
                     flag must be used in combination with MAP_ANON and
                     MAP_PRIVATE.
      
      Implement MAP_STACK option for mmap().  Synchronous faults (pagefault and
      syscall) confirm the stack register points at MAP_STACK memory, otherwise
      SIGSEGV is delivered. sigaltstack() and pthread_attr_setstack() are modified
      to create a MAP_STACK sub-region which satisfies alignment requirements.
      Observe that MAP_STACK can only be set/cleared by mmap(), which zeroes the
      contents of the region -- there is no mprotect() equivalent operation, so
      there is no MAP_STACK-adding gadget.
      Signed-off-by: NBrad Smith <brad@comstyle.com>
      Reviewed-by: NKamil Rytarowski <n54@gmx.com>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 20181019125239.GA13884@humpty.home.comstyle.com
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      fc3d1bad
    • P
      Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20181105' into staging · 03c1ca1c
      Peter Maydell 提交于
      - some changes in s390x maintainership
      - bugfix in vfio-ap
      
      # gpg: Signature made Mon 05 Nov 2018 16:34:03 GMT
      # gpg:                using RSA key DECF6B93C6F02FAF
      # gpg: Good signature from "Cornelia Huck <conny@cornelia-huck.de>"
      # gpg:                 aka "Cornelia Huck <huckc@linux.vnet.ibm.com>"
      # gpg:                 aka "Cornelia Huck <cornelia.huck@de.ibm.com>"
      # gpg:                 aka "Cornelia Huck <cohuck@kernel.org>"
      # gpg:                 aka "Cornelia Huck <cohuck@redhat.com>"
      # Primary key fingerprint: C3D0 D66D C362 4FF6 A8C0  18CE DECF 6B93 C6F0 2FAF
      
      * remotes/cohuck/tags/s390x-20181105:
        MAINTAINERS: s390/boot: the ipl code and the bios belong together
        MAINTAINERS: s390: Remove myself
        MAINTAINERS: s390/pci: add Collin Walling as maintainer for zpci
        MAINTAINERS: s390/virtio-ccw: drop Christian, add Halil
        MAINTAINERS: s390: more maintainers for vfio-ccw
        s390x/vfio-ap: report correct error
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      03c1ca1c
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 3cb99f41
      Peter Maydell 提交于
      Block layer patches:
      
      - auto-read-only option to fix commit job when used with -blockdev
      - Fix help text related qemu-iotests failure (by improving the help text
        and updating the reference output)
      - quorum: Add missing checks when adding/removing child nodes
      - Don't take address of fields in packed structs
      - vvfat: Fix crash when reporting error about too many files in directory
      
      # gpg: Signature made Mon 05 Nov 2018 15:35:25 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: (36 commits)
        include: Add a comment to explain the origin of sizes' lookup table
        vdi: Use a literal number of bytes for DEFAULT_CLUSTER_SIZE
        fw_cfg: Drop newline in @file description
        object: Make option help nicer to read
        qdev-monitor: Make device options help nicer
        chardev: Indent list of chardevs
        option: Make option help nicer to read
        qemu-iotests: Test auto-read-only with -drive and -blockdev
        block: Make auto-read-only=on default for -drive
        iscsi: Support auto-read-only option
        gluster: Support auto-read-only option
        curl: Support auto-read-only option
        file-posix: Support auto-read-only option
        nbd: Support auto-read-only option
        block: Require auto-read-only for existing fallbacks
        rbd: Close image in qemu_rbd_open() error path
        block: Add auto-read-only option
        block: Update flags in bdrv_set_read_only()
        iotest: Test x-blockdev-change on a Quorum
        quorum: Forbid adding children in blkverify mode
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3cb99f41
  2. 05 11月, 2018 37 次提交