1. 17 7月, 2017 1 次提交
  2. 14 7月, 2017 2 次提交
  3. 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
  4. 20 6月, 2017 1 次提交
  5. 07 6月, 2017 1 次提交
    • D
      Revert "Change net/socket.c to use socket_*() functions" again · 6701e551
      Daniel P. Berrange 提交于
      This reverts commit 883e4f76.
      
      This code changed net/socket.c from using socket()+connect(),
      to using socket_connect(). In theory this is great, but in
      practice this has completely broken the ability to connect
      the frontend and backend:
      
        $ ./x86_64-softmmu/qemu-system-x86_64 \
             -device e1000,id=e0,netdev=hn0,mac=DE:AD:BE:EF:AF:05 \
             -netdev socket,id=hn0,connect=localhost:1234
        qemu-system-x86_64: -device e1000,id=e0,netdev=hn0,mac=DE:AD:BE:EF:AF:05: Property 'e1000.netdev' can't find value 'hn0'
      
      The old code would call net_socket_fd_init() synchronously,
      while letting the connect() complete in the backgorund. The
      new code moved net_socket_fd_init() so that it is only called
      after connect() completes in the background.
      
      Thus at the time we initialize the NIC frontend, the backend
      does not exist.
      
      The socket_connect() conversion as done is a bad fit for the
      current code, since it did not try to change the way it deals
      with async connection completion. Rather than try to fix this,
      just revert the socket_connect() conversion entirely.
      
      The code is about to be converted to use QIOChannel which
      will let the problem be solved in a cleaner manner. This
      revert is more suitable for stable branches in the meantime.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      6701e551
  6. 02 6月, 2017 3 次提交
  7. 23 5月, 2017 6 次提交
  8. 09 5月, 2017 2 次提交
  9. 04 5月, 2017 1 次提交
  10. 30 4月, 2017 2 次提交
  11. 26 4月, 2017 1 次提交
  12. 25 4月, 2017 2 次提交
  13. 24 4月, 2017 2 次提交
  14. 14 3月, 2017 1 次提交
  15. 06 3月, 2017 11 次提交
  16. 01 3月, 2017 1 次提交
  17. 23 2月, 2017 1 次提交
  18. 15 2月, 2017 1 次提交