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

2023-01-16 Thread Laurent Vivier
Le 16/01/2023 à 05:56, Guoyi Tu a écrit : 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 ---  backends/tpm/tpm_emulator.c 

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

2023-01-16 Thread Philippe Mathieu-Daudé
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 ---  backends/tpm/tpm_emulator.c

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

2023-01-15 Thread Thomas Huth
On 16/01/2023 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 ---  backends/tpm/tpm_emulator.c