Re: [PATCH v3 13/22] libqtest: make qtest_bufwrite send "atomic"

2019-09-19 Thread John Snow
On 9/19/19 3:36 PM, Oleinik, Alexander wrote: > On Thu, 2019-09-19 at 14:56 -0400, John Snow wrote: >> > >> > On 9/19/19 6:37 AM, Stefan Hajnoczi wrote: >>> > > On Wed, Sep 18, 2019 at 11:19:40PM +, Oleinik, Alexander wrote: > > > When using qtest "in-process" communication, qtest_sendf

Re: [PATCH v3 13/22] libqtest: make qtest_bufwrite send "atomic"

2019-09-19 Thread Alexander Oleinik
On 9/19/19 2:56 PM, John Snow wrote: On 9/19/19 6:37 AM, Stefan Hajnoczi wrote: On Wed, Sep 18, 2019 at 11:19:40PM +, Oleinik, Alexander wrote: When using qtest "in-process" communication, qtest_sendf directly calls a function in the server (qtest.c). Combining the contents of the subsequ

Re: [PATCH v3 13/22] libqtest: make qtest_bufwrite send "atomic"

2019-09-19 Thread Oleinik, Alexander
On Thu, 2019-09-19 at 14:56 -0400, John Snow wrote: > > On 9/19/19 6:37 AM, Stefan Hajnoczi wrote: > > On Wed, Sep 18, 2019 at 11:19:40PM +, Oleinik, Alexander wrote: > > > When using qtest "in-process" communication, qtest_sendf directly > > > calls > > > a function in the server (qtest.c). Co

Re: [PATCH v3 13/22] libqtest: make qtest_bufwrite send "atomic"

2019-09-19 Thread John Snow
On 9/19/19 6:37 AM, Stefan Hajnoczi wrote: > On Wed, Sep 18, 2019 at 11:19:40PM +, Oleinik, Alexander wrote: >> When using qtest "in-process" communication, qtest_sendf directly calls >> a function in the server (qtest.c). Combining the contents of the >> subsequent socket_sends into the qte

Re: [Qemu-devel] [PATCH v3 13/22] libqtest: make qtest_bufwrite send "atomic"

2019-09-19 Thread Stefan Hajnoczi
On Wed, Sep 18, 2019 at 11:19:40PM +, Oleinik, Alexander wrote: > When using qtest "in-process" communication, qtest_sendf directly calls > a function in the server (qtest.c). Combining the contents of the > subsequent socket_sends into the qtest_sendf, makes it so the server can > immediately

[Qemu-devel] [PATCH v3 13/22] libqtest: make qtest_bufwrite send "atomic"

2019-09-18 Thread Oleinik, Alexander
When using qtest "in-process" communication, qtest_sendf directly calls a function in the server (qtest.c). Combining the contents of the subsequent socket_sends into the qtest_sendf, makes it so the server can immediately handle the command, without building a local buffer and waiting for a newlin