1. 13 3月, 2015 2 次提交
  2. 12 3月, 2015 31 次提交
  3. 11 3月, 2015 7 次提交
    • P
      Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20150310' into staging · 165fa409
      Peter Maydell 提交于
      s390x/kvm: Features and fixes for 2.3
      
      - an extension to the elf loader to allow relocations
      - make the ccw bios relocatable. This allows for bigger ramdisks
        or smaller guests
      - Handle all slow SIGPs in QEMU (instead of kernel) for better
        compliance and correctness
      - tell the KVM module the maximum guest size. This allows KVM
        to reduce the number or page table levels
      - Several fixes/cleanups
      
      # gpg: Signature made Wed Mar 11 10:17:13 2015 GMT using RSA key ID B5A61C7C
      # gpg: Good signature from "Christian Borntraeger (IBM) <borntraeger@de.ibm.com>"
      
      * remotes/borntraeger/tags/s390x-20150310:
        s390-ccw: rebuild BIOS
        s390/bios: Make the s390-ccw.img relocatable
        elf-loader: Provide the possibility to relocate s390 ELF files
        s390-ccw.img: Reinitialize guessing on reboot
        s390-ccw.img: Allow bigger ramdisk sizes or offsets
        s390x/kvm: passing max memory size to accelerator
        virtio-ccw: Convert to realize()
        virtio-s390: Convert to realize()
        virtio-s390: s390_virtio_device_init() can't fail, simplify
        s390x/kvm: enable the new SIGP handling in user space
        s390x/kvm: deliver SIGP RESTART directly if stopped
        s390x: add function to deliver restart irqs
        s390x/kvm: SIGP START is only applicable when STOPPED
        s390x/kvm: implement handling of new SIGP orders
        s390x/kvm: trace all SIGP orders
        s390x/kvm: helper to set the SIGP status in SigpInfo
        s390x/kvm: pass the SIGP instruction parameter to the SIGP handler
        s390x/kvm: more details for SIGP handler with one destination vcpu
        s390x: introduce defines for SIGP condition codes
        synchronize Linux headers to 4.0-rc3
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      165fa409
    • M
      pci/shpc: fix signed integer overflow · 58209459
      Michael S. Tsirkin 提交于
      clang undefined behaviour sanitizer reports:
      > hw/pci/shpc.c:162:27: runtime error: left shift of 1 by 31 places
      > cannot be represented in type 'int'
      
      Caused by the usual lack of a 'U' qualifier on a constant 1 being
      shifted left. Fix it up.
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      58209459
    • M
      acpi-test: update expected files · 92bf484a
      Michael S. Tsirkin 提交于
      commit ecdc7bab
          "acpi: fix aml_equal term implementation"
      dropped a useless Zero in generated code,
      update expected files appropriately.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      92bf484a
    • P
      Merge remote-tracking branch 'remotes/amit/tags/vser-for-2.3-1' into staging · 9159eb9a
      Peter Maydell 提交于
      virtio-serial: fix crash on port hotplug when a previously-added port
      did not have the 'name' property set.
      
      # gpg: Signature made Wed Mar 11 11:13:53 2015 GMT using RSA key ID 854083B6
      # gpg: Good signature from "Amit Shah <amit@amitshah.net>"
      # gpg:                 aka "Amit Shah <amit@kernel.org>"
      # gpg:                 aka "Amit Shah <amitshah@gmx.net>"
      
      * remotes/amit/tags/vser-for-2.3-1:
        virtio-serial: fix segfault on NULL port names
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      9159eb9a
    • L
      target-mips: add missing MSACSR and restore fp_status and hflags · 64451111
      Leon Alrae 提交于
      Save MSACSR state. Also remove fp_status, msa_fp_status, hflags and restore
      them in post_load() from the architectural registers.
      Float exception flags are not present in vmstate. Information they carry
      is used only by softfloat caller who translates them into MIPS FCSR.Cause,
      FCSR.Flags and then they are cleared. Therefore there is no need for saving
      them in vmstate.
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      64451111
    • L
      target-mips: replace cpu_save/cpu_load with VMStateDescription · 04cd7962
      Leon Alrae 提交于
      Create VMStateDescription for MIPS CPU. The new structure contains exactly the
      same fields as before, therefore leaving existing version_id.
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      04cd7962
    • P
      bitops.h: sextract64() return type should be int64_t, not uint64_t · 4f995052
      Peter Maydell 提交于
      The documentation for sextract64() claims that the return type is
      an int64_t, but the code itself disagrees. Fix the return type to
      conform to the documentation and to bring it into line with
      sextract32(), which returns int32_t.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Message-id: 1423231328-15662-1-git-send-email-peter.maydell@linaro.org
      4f995052