1. 10 7月, 2017 19 次提交
  2. 08 7月, 2017 3 次提交
  3. 06 7月, 2017 8 次提交
    • P
      Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20170706' into staging · b1136586
      Peter Maydell 提交于
      s390x/kvm/migration: fixes, enhancements and cleanups
      
      - new email address for Cornelia
      - Fixes: 3270, flic, virtio-scsi-ccw, ipl
      - Enhancements, cpumodel, migration
      
      # gpg: Signature made Thu 06 Jul 2017 08:18:19 BST
      # gpg:                using RSA key 0x117BBC80B5A61C7C
      # gpg: Good signature from "Christian Borntraeger (IBM) <borntraeger@de.ibm.com>"
      # Primary key fingerprint: F922 9381 A334 08F9 DBAB  FBCA 117B BC80 B5A6 1C7C
      
      * remotes/borntraeger/tags/s390x-20170706:
        hw/s390x/ipl: Fix endianness problem with netboot_start_addr
        virtio-scsi-ccw: use ioeventfd even when KVM is disabled
        s390x: return unavailable features via query-cpu-definitions
        s390x/MAINTAINERS: Update my email address
        s390x: fix realize inheritance for kvm-flic
        s390x: fix error propagation in kvm-flic's realize
        s390x/3270: fix instruction interception handler
        s390x: vmstatify config migration for virtio-ccw
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b1136586
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · 67b9c5d4
      Peter Maydell 提交于
      * qemu-thread portability improvement (Fam)
      * virtio-scsi IOMMU fix (Jason)
      * poisoning and common-obj-y cleanups (Thomas)
      * initial Hypervisor.framework refactoring (Sergio)
      * x86 TCG interrupt injection fixes (Wu Xiang, me)
      * --disable-tcg support for x86 (Yang Zhong, me)
      * various other bugfixes and cleanups (Daniel, Peter, Thomas)
      
      # gpg: Signature made Wed 05 Jul 2017 08:12:56 BST
      # gpg:                using RSA key 0xBFFBD25F78C7AE83
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
      # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>"
      # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
      #      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83
      
      * remotes/bonzini/tags/for-upstream: (42 commits)
        target/i386: add the CONFIG_TCG into Makefiles
        target/i386: add the tcg_enabled() in target/i386/
        target/i386: move TLB refill function out of helper.c
        target/i386: split cpu_set_mxcsr() and make cpu_set_fpuc() inline
        target/i386: make cpu_get_fp80()/cpu_set_fp80() static
        target/i386: move cpu_sync_bndcs_hflags() function
        tcg: add the CONFIG_TCG into Makefiles
        tcg: add CONFIG_TCG guards in headers
        exec: elide calls to tb_lock and tb_unlock
        tcg: move tb_lock out of translate-all.h
        tcg: add the tcg-stub.c file into accel/stubs/
        vapic: use tcg_enabled
        monitor: disable "info jit" and "info opcount" if !TCG
        tcg: make tcg_allowed global
        cpu: move interrupt handling out of translate-common.c
        tcg: move page_size_init() function
        vl: add tcg_enabled() for tcg related code
        vl: convert -tb-size to qemu_strtoul
        configure: add --disable-tcg configure option
        configure: early test for supported targets
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      67b9c5d4
    • T
      hw/s390x/ipl: Fix endianness problem with netboot_start_addr · 1045e3cd
      Thomas Huth 提交于
      The start address has to be stored in big endian byte order
      in the iplb.ccw block for the guest.
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      Message-Id: <1499268345-12552-1-git-send-email-thuth@redhat.com>
      Reviewed-by: NCornelia Huck <cohuck@redhat.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      1045e3cd
    • Q
      virtio-scsi-ccw: use ioeventfd even when KVM is disabled · cda3c19f
      QingFeng Hao 提交于
      This patch is based on a similar patch from Stefan Hajnoczi -
      commit c324fd0a ("virtio-pci: use ioeventfd even when KVM is disabled")
      
      Do not check kvm_eventfds_enabled() when KVM is disabled since it
      always returns 0.  Since commit 8c56c1a5
      ("memory: emulate ioeventfd") it has been possible to use ioeventfds in
      qtest or TCG mode.
      
      This patch makes -device virtio-scsi-ccw,iothread=iothread0 work even
      when KVM is disabled.
      Currently we don't have an equivalent to "memory: emulate ioeventfd"
      for ccw yet, but that this doesn't hurt and qemu-iotests 068 can pass with
      skipping iothread arguments.
      
      I have tested that virtio-scsi-ccw works under tcg both with and without
      iothread.
      
      This patch fixes qemu-iotests 068, which was accidentally merged early
      despite the dependency on ioeventfd.
      Signed-off-by: NQingFeng Hao <haoqf@linux.vnet.ibm.com>
      Reviewed-by: NCornelia Huck <cohuck@redhat.com>
      Message-Id: <20170704132350.11874-2-haoqf@linux.vnet.ibm.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      cda3c19f
    • V
      s390x: return unavailable features via query-cpu-definitions · 38cba1f4
      Viktor Mihajlovski 提交于
      The response for query-cpu-definitions didn't include the
      unavailable-features field, which is used by libvirt to figure
      out whether a certain cpu model is usable on the host.
      
      The unavailable features are now computed by obtaining the host CPU
      model and comparing it against the known CPU models. The comparison
      takes into account the generation, the GA level and the feature
      bitmaps. In the case of a CPU generation/GA level mismatch
      a feature called "type" is reported to be missing.
      
      As a result, the output of virsh domcapabilities would change
      from something like
       ...
           <mode name='custom' supported='yes'>
            <model usable='unknown'>z10EC-base</model>
            <model usable='unknown'>z9EC-base</model>
            <model usable='unknown'>z196.2-base</model>
            <model usable='unknown'>z900-base</model>
            <model usable='unknown'>z990</model>
       ...
      to
       ...
           <mode name='custom' supported='yes'>
            <model usable='yes'>z10EC-base</model>
            <model usable='yes'>z9EC-base</model>
            <model usable='no'>z196.2-base</model>
            <model usable='yes'>z900-base</model>
            <model usable='yes'>z990</model>
       ...
      Signed-off-by: NViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
      Message-Id: <1499082529-16970-1-git-send-email-mihajlov@linux.vnet.ibm.com>
      Reviewed-by: NDavid Hildenbrand <david@redhat.com>
      Acked-by: NCornelia Huck <cohuck@redhat.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      38cba1f4
    • C
      s390x/MAINTAINERS: Update my email address · c1976ae7
      Cornelia Huck 提交于
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      Message-Id: <20170704092215.13742-2-cohuck@redhat.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      c1976ae7
    • H
      s390x: fix realize inheritance for kvm-flic · 5cbab1bf
      Halil Pasic 提交于
      Commit f6f4ce4211 ("s390x: add property adapter_routes_max_batch",
      2016-12-09) introduces a common realize (intended to be common for all
      the subclasses) for flic, but fails to make sure the kvm-flic which had
      its own is actually calling this common realize.
      
      This omission fortunately does not result in a grave problem. The common
      realize was only supposed to catch a possible programming mistake by
      validating a value of a property set via the compat machine macros. Since
      there was no programming mistake we don't need this fixed for stable.
      
      Let's fix this problem by making sure kvm flic honors the realize of its
      parent class.
      
      Let us also improve on the error message we would hypothetically emit
      when the validation fails.
      Signed-off-by: NHalil Pasic <pasic@linux.vnet.ibm.com>
      Fixes: f6f4ce4211 ("s390x: add property adapter_routes_max_batch")
      Reviewed-by: NDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
      Reviewed-by: NYi Min Zhao <zyimin@linux.vnet.ibm.com>
      Reviewed-by: NCornelia Huck <cohuck@redhat.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      5cbab1bf
    • H
      s390x: fix error propagation in kvm-flic's realize · f62f2109
      Halil Pasic 提交于
      From the moment it was introduced by commit a2875e6f98 ("s390x/kvm:
      implement floating-interrupt controller device", 2013-07-16) the kvm-flic
      is not making realize fail properly in case it's impossible to create the
      KVM device which basically serves as a backend and is absolutely
      essential for having an operational kvm-flic.
      
      Let's fix this by making sure we do proper error propagation in realize.
      Signed-off-by: NHalil Pasic <pasic@linux.vnet.ibm.com>
      Fixes: a2875e6f98 "s390x/kvm: implement floating-interrupt controller device"
      Reviewed-by: NDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
      Reviewed-by: NYi Min Zhao <zyimin@linux.vnet.ibm.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      f62f2109
  4. 05 7月, 2017 10 次提交