Skip to content
Snippets Groups Projects
  1. Jul 27, 2020
  2. Jul 26, 2020
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20200725' into staging · 194f8ca8
      Peter Maydell authored
      
      Fix some cputlb commentary
      Fix an hppa temporary leak
      Fix an i386 translation issue with loop insns
      
      # gpg: Signature made Sat 25 Jul 2020 17:03:59 BST
      # gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
      # gpg:                issuer "richard.henderson@linaro.org"
      # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [full]
      # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F
      
      * remotes/rth/tags/pull-tcg-20200725:
        target/i386: Save cc_op before loop insns
        target/hppa: Free some temps in do_sub
        tcg: update comments for save_iotlb_data in cputlb
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      194f8ca8
  3. Jul 25, 2020
  4. Jul 24, 2020
  5. Jul 23, 2020
    • Vitaly Kuznetsov's avatar
      KVM: fix CPU reset wrt HF2_GIF_MASK · 0baa4b44
      Vitaly Kuznetsov authored
      
      HF2_GIF_MASK is set in env->hflags2 unconditionally on CPU reset
      (see x86_cpu_reset()) but when calling KVM_SET_NESTED_STATE,
      KVM_STATE_NESTED_GIF_SET is only valid for nSVM as e.g. nVMX code
      looks like
      
      if (kvm_state->hdr.vmx.vmxon_pa == -1ull) {
          if (kvm_state->flags & ~KVM_STATE_NESTED_EVMCS)
              return -EINVAL;
      }
      
      Also, when adjusting the environment after KVM_GET_NESTED_STATE we
      need not reset HF2_GIF_MASK on VMX as e.g. x86_cpu_pending_interrupt()
      expects it to be set.
      
      Alternatively, we could've made env->hflags2 SVM-only.
      
      Reported-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Fixes: b16c0e20 ("KVM: add support for AMD nested live migration")
      Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
      Message-Id: <20200723142701.2521161-1-vkuznets@redhat.com>
      Tested-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      0baa4b44
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-20200722-1' into staging · 09e0cd77
      Peter Maydell authored
      
      This PR contains a few RISC-V fixes.
      
      The main fix is the correction of the goldfish RTC time. On top of that
      some small fixes to the recently added vector extensions have been added
      (including an assert that fixed a coverity report). There is a change in
      the SiFive E debug memory size to match hardware. Finally there is a fix
      for PMP accesses.
      
      # gpg: Signature made Wed 22 Jul 2020 17:43:59 BST
      # gpg:                using RSA key F6C4AC46D4934868D3B8CE8F21E10D29DF977054
      # gpg: Good signature from "Alistair Francis <alistair@alistair23.me>" [full]
      # Primary key fingerprint: F6C4 AC46 D493 4868 D3B8  CE8F 21E1 0D29 DF97 7054
      
      * remotes/alistair/tags/pull-riscv-to-apply-20200722-1:
        target/riscv: Fix the range of pmpcfg of CSR funcion table
        hw/riscv: sifive_e: Correct debug block size
        target/riscv: fix vector index load/store constraints
        target/riscv: Quiet Coverity complains about vamo*
        goldfish_rtc: Fix non-atomic read behaviour of TIME_LOW/TIME_HIGH
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      09e0cd77
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · 8ffa52c2
      Peter Maydell authored
      
      acpi,virtio,pc: bugfixes
      
      Fix bug in ACPI which were tripping up guests.
      Fix a use-after-free with hotplug of virtio devices.
      Block ability to create legacy devices which shouldn't have been
      there in the first place.
      Fix migration error handling with balloon.
      Drop some dead code in virtio.
      vtd emulation fixup.
      
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Wed 22 Jul 2020 13:07:26 BST
      # gpg:                using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469
      # gpg:                issuer "mst@redhat.com"
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [full]
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>" [full]
      # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17  0970 C350 3912 AFBE 8E67
      #      Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA  8A0D 281F 0DB8 D28D 5469
      
      * remotes/mst/tags/for_upstream:
        virtio-pci: Changed vdev to proxy for VirtIO PCI BAR callbacks.
        intel_iommu: Use correct shift for 256 bits qi descriptor
        virtio: verify that legacy support is not accidentally on
        virtio: list legacy-capable devices
        virtio-balloon: Replace free page hinting references to 'report' with 'hint'
        virtio-balloon: Add locking to prevent possible race when starting hinting
        virtio-balloon: Prevent guest from starting a report when we didn't request one
        virtio: Drop broken and superfluous object_property_set_link()
        acpi: accept byte and word access to core ACPI registers
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      8ffa52c2
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/philmd-gitlab/tags/avr-20200721' into staging · 53ce7b47
      Peter Maydell authored
      AVR patches
      
      Fixes a memory leak reported by Coverity (CID 1430449).
      
      CI jobs result:
      . https://gitlab.com/philmd/qemu/-/pipelines/168722631
      
      
      
      # gpg: Signature made Tue 21 Jul 2020 19:00:03 BST
      # gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
      # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [full]
      # Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE
      
      * remotes/philmd-gitlab/tags/avr-20200721:
        hw/avr/boot: Fix memory leak in avr_load_firmware()
        qemu-common: Document qemu_find_file()
        qemu/osdep: Reword qemu_get_exec_dir() documentation
        qemu/osdep: Document os_find_datadir() return value
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      53ce7b47
  6. Jul 22, 2020
Loading