1. 22 1月, 2019 3 次提交
    • T
      tests/Makefile: Use some more CONFIG switches for x86 tests · b6016dff
      Thomas Huth 提交于
      To be able to build and test QEMU binaries where certain devices are
      disabled, we have to use the right CONFIG_* switches to run certain
      tests only if the corresponding device really has been compiled into
      the binary.
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      b6016dff
    • P
      Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-january-17-2019-v2' into staging · 166609e6
      Peter Maydell 提交于
      MIPS queue for January 17, 2019 - v2
      
      # gpg: Signature made Fri 18 Jan 2019 15:55:35 GMT
      # gpg:                using RSA key D4972A8967F75A65
      # gpg: Good signature from "Aleksandar Markovic <amarkovic@wavecomp.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 8526 FBF1 5DA3 811F 4A01  DD75 D497 2A89 67F7 5A65
      
      * remotes/amarkovic/tags/mips-queue-january-17-2019-v2:
        target/mips: Introduce 32 R5900 multimedia registers
        target/mips: Rename 'rn' to 'register_name'
        target/mips: Add CP0 register MemoryMapID
        target/mips: Amend preprocessor constants for CP0 registers
        target/mips: Update ITU to handle bus errors
        target/mips: Update ITU to utilize SAARI and SAAR CP0 registers
        target/mips: Add field and R/W access to ITU control register ICR0
        target/mips: Provide R/W access to SAARI and SAAR CP0 registers
        target/mips: Add fields for SAARI and SAAR CP0 registers
        target/mips: Use preprocessor constants for 32 major CP0 registers
        target/mips: Add preprocessor constants for 32 major CP0 registers
        target/mips: Move comment containing summary of CP0 registers
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      166609e6
    • P
      hw/virtio/virtio-balloon: zero-initialize the virtio_balloon_config struct · 5385a598
      Peter Maydell 提交于
      In virtio_balloon_get_config() we initialize a struct virtio_balloon_config
      which we then copy to guest memory. However, the local variable is not
      zero initialized. This works OK at the moment because we initialize
      all the fields in it; however an upcoming kernel header change will
      add some new fields. If we don't zero out the whole struct then we
      will start leaking a small amount of the contents of QEMU's stack
      to the guest as soon as we update linux-headers/ to a set of headers
      that includes the new fields.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-id: 20190118183603.24757-1-peter.maydell@linaro.org
      5385a598
  2. 21 1月, 2019 37 次提交