qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] d4adf9: io: fix temp directory used by test-i


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] d4adf9: io: fix temp directory used by test-io-channel-tls...
Date: Tue, 05 Sep 2017 07:21:17 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: d4adf9675801cd90e66ecfcd6a54ca1abc5a6698
      
https://github.com/qemu/qemu/commit/d4adf9675801cd90e66ecfcd6a54ca1abc5a6698
  Author: Daniel P. Berrange <address@hidden>
  Date:   2017-09-04 (Mon, 04 Sep 2017)

  Changed paths:
    M tests/test-io-channel-tls.c

  Log Message:
  -----------
  io: fix temp directory used by test-io-channel-tls test

The test-io-channel-tls test was mistakenly using two of the
same directories as test-crypto-tlssession. This causes a
sporadic failure when using make -j$BIGNUM.

Reported-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: b2587932582333197c88bf663785b19f441989d7
      
https://github.com/qemu/qemu/commit/b2587932582333197c88bf663785b19f441989d7
  Author: Cao jin <address@hidden>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M block/sheepdog.c
    M block/ssh.c
    M include/qemu/sockets.h
    M io/channel-socket.c
    M util/qemu-sockets.c

  Log Message:
  -----------
  util: remove the obsolete non-blocking connect

The non-blocking connect mechanism is obsolete, and it doesn't
work well in inet connection, because it will call getaddrinfo
first and getaddrinfo will blocks on DNS lookups. Since commit
e65c67e4 & d984464e, the non-blocking connect of migration goes
through QIOChannel in a different manner(using a thread), and
nobody use this old non-blocking connect anymore.

Any newly written code which needs a non-blocking connect should
use the QIOChannel code, so we can drop NonBlockingConnectHandler
as a concept entirely.

Suggested-by: Daniel P. Berrange <address@hidden>
Signed-off-by: Cao jin <address@hidden>
Signed-off-by: Mao Zhongyi <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: 50ea44f07744293b5f503411df8052bf113d8f1d
      
https://github.com/qemu/qemu/commit/50ea44f07744293b5f503411df8052bf113d8f1d
  Author: Daniel P. Berrange <address@hidden>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M include/io/channel.h

  Log Message:
  -----------
  io: fix typo in docs comment for qio_channel_read

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: d4622e55883211072621958d39ddaa73483d201e
      
https://github.com/qemu/qemu/commit/d4622e55883211072621958d39ddaa73483d201e
  Author: Daniel P. Berrange <address@hidden>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M include/io/channel.h
    M io/channel.c
    M tests/io-channel-helpers.c

  Log Message:
  -----------
  io: add new qio_channel_{readv, writev, read, write}_all functions

These functions wait until they are able to read / write the full
requested data buffer(s).

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: 689ed13e73bdb5a5ca3366524475e3065fae854a
      
https://github.com/qemu/qemu/commit/689ed13e73bdb5a5ca3366524475e3065fae854a
  Author: Daniel P. Berrange <address@hidden>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M tests/test-io-channel-tls.c

  Log Message:
  -----------
  io: fix check for handshake completion in TLS test

The TLS I/O channel test had mistakenly used && instead
of || when checking for handshake completion. As a
result it could terminate the handshake process before
it had actually completed. This was harmless before but
changes in GNUTLS 3.6.0 exposed this bug and caused the
test suite to fail.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>


  Commit: d3e3447d3df14001b364bcc9f6b296919a9f386e
      
https://github.com/qemu/qemu/commit/d3e3447d3df14001b364bcc9f6b296919a9f386e
  Author: Peter Maydell <address@hidden>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M block/sheepdog.c
    M block/ssh.c
    M include/io/channel.h
    M include/qemu/sockets.h
    M io/channel-socket.c
    M io/channel.c
    M tests/io-channel-helpers.c
    M tests/test-io-channel-tls.c
    M util/qemu-sockets.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/berrange/tags/pull-qio-20170905-2' into 
staging

Merge QEMU I/O 2017/09/05 v2

# gpg: Signature made Tue 05 Sep 2017 13:22:36 BST
# gpg:                using RSA key 0xBE86EBB415104FDF
# gpg: Good signature from "Daniel P. Berrange <address@hidden>"
# gpg:                 aka "Daniel P. Berrange <address@hidden>"
# Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E  8E3F BE86 EBB4 1510 4FDF

* remotes/berrange/tags/pull-qio-20170905-2:
  io: fix check for handshake completion in TLS test
  io: add new qio_channel_{readv, writev, read, write}_all functions
  io: fix typo in docs comment for qio_channel_read
  util: remove the obsolete non-blocking connect
  io: fix temp directory used by test-io-channel-tls test

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/53e2c48d3f0d...d3e3447d3df1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]