1. 25 7月, 2017 10 次提交
  2. 20 7月, 2017 1 次提交
  3. 18 7月, 2017 9 次提交
  4. 14 7月, 2017 12 次提交
  5. 13 7月, 2017 1 次提交
    • A
      Convert error_report() to warn_report() · 3dc6f869
      Alistair Francis 提交于
      Convert all uses of error_report("warning:"... to use warn_report()
      instead. This helps standardise on a single method of printing warnings
      to the user.
      
      All of the warnings were changed using these two commands:
          find ./* -type f -exec sed -i \
            's|error_report(".*warning[,:] |warn_report("|Ig' {} +
      
      Indentation fixed up manually afterwards.
      
      The test-qdev-global-props test case was manually updated to ensure that
      this patch passes make check (as the test cases are case sensitive).
      Signed-off-by: NAlistair Francis <alistair.francis@xilinx.com>
      Suggested-by: NThomas Huth <thuth@redhat.com>
      Cc: Jeff Cody <jcody@redhat.com>
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Max Reitz <mreitz@redhat.com>
      Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Peter Lieven <pl@kamp.de>
      Cc: Josh Durgin <jdurgin@redhat.com>
      Cc: "Richard W.M. Jones" <rjones@redhat.com>
      Cc: Markus Armbruster <armbru@redhat.com>
      Cc: Peter Crosthwaite <crosthwaite.peter@gmail.com>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
      Cc: Greg Kurz <groug@kaod.org>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: Peter Chubb <peter.chubb@nicta.com.au>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Igor Mammedov <imammedo@redhat.com>
      Cc: David Gibson <david@gibson.dropbear.id.au>
      Cc: Alexander Graf <agraf@suse.de>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: Jason Wang <jasowang@redhat.com>
      Cc: Marcelo Tosatti <mtosatti@redhat.com>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Cornelia Huck <cohuck@redhat.com>
      Cc: Stefan Hajnoczi <stefanha@redhat.com>
      Acked-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Acked-by: NGreg Kurz <groug@kaod.org>
      Acked-by: NCornelia Huck <cohuck@redhat.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Reviewed by: Peter Chubb <peter.chubb@data61.csiro.au>
      Acked-by: NMax Reitz <mreitz@redhat.com>
      Acked-by: NMarcel Apfelbaum <marcel@redhat.com>
      Message-Id: <e1cfa2cd47087c248dd24caca9c33d9af0c499b0.1499866456.git.alistair.francis@xilinx.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      3dc6f869
  6. 06 7月, 2017 2 次提交
    • 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
  7. 24 6月, 2017 5 次提交