qemu-devel
[Top][All Lists]
Advanced

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

Re: Call qemu_socketpair() instead of socketpair() when possible


From: Philippe Mathieu-Daudé
Subject: Re: Call qemu_socketpair() instead of socketpair() when possible
Date: Mon, 16 Jan 2023 09:31:57 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

On 16/1/23 05:56, Guoyi Tu wrote:
As qemu_socketpair() was introduced in commit 3c63b4e9
("oslib-posix: Introduce qemu_socketpair()"), it's time
to replace the other existing socketpair() calls with
qemu_socketpair() if possible

Signed-off-by: Guoyi Tu <tugy@chinatelecom.cn>
---
  backends/tpm/tpm_emulator.c         | 2 +-
  tests/qtest/dbus-display-test.c     | 5 +++--
  tests/qtest/migration-test.c        | 2 +-
  tests/unit/test-crypto-tlssession.c | 4 ++--
  tests/unit/test-io-channel-tls.c    | 2 +-
  5 files changed, 8 insertions(+), 7 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



reply via email to

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