Re: clearly mark DMA_OPS support as an architecture feasture

2024-08-25 Thread Jason Wang
On Mon, Aug 26, 2024 at 2:30 PM Christoph Hellwig wrote: > > On Mon, Aug 26, 2024 at 02:27:27PM +0800, Jason Wang wrote: > > Actually I meant, we can extend the virtio_config_ops to allow mapping > > ops there, then simulator and VDUSE can hook the map ops there. > >

Re: clearly mark DMA_OPS support as an architecture feasture

2024-08-25 Thread Jason Wang
On Mon, Aug 26, 2024 at 2:16 PM Jason Wang wrote: > > On Sat, Aug 24, 2024 at 11:58 AM Christoph Hellwig wrote: > > > > Hi all, > > > > we've had a long standing problems where drivers try to hook into the > > DMA_OPS mechanisms to override them for somet

Re: clearly mark DMA_OPS support as an architecture feasture

2024-08-25 Thread Jason Wang
On Sat, Aug 24, 2024 at 11:58 AM Christoph Hellwig wrote: > > Hi all, > > we've had a long standing problems where drivers try to hook into the > DMA_OPS mechanisms to override them for something that is not DMA, or > to introduce additional dispatching. > > Now that we are not using DMA_OPS suppo

Re: [PATCH v2 0/2] net: Update MemReentrancyGuard for NIC

2023-11-13 Thread Jason Wang
On Thu, Sep 21, 2023 at 3:16 PM Akihiko Odaki wrote: > > On 2023/06/01 12:18, Akihiko Odaki wrote: > > Recently MemReentrancyGuard was added to DeviceState to record that the > > device is engaging in I/O. The network device backend needs to update it > > when delivering a packet to a device. > >

Re: [PATCH v14 16/17] tests/qtest: netdev: test stream and dgram backends

2022-11-03 Thread Jason Wang
在 2022/11/3 17:33, Laurent Vivier 写道: On 10/28/22 07:04, Jason Wang wrote: 在 2022/10/21 17:09, Laurent Vivier 写道: Signed-off-by: Laurent Vivier Acked-by: Michael S. Tsirkin --- I got this: 63/63 ERROR:../tests/qtest/netdev-socket.c:139:test_stream_inet_ipv6: assertion failed (resp

Re: [PATCH v14 16/17] tests/qtest: netdev: test stream and dgram backends

2022-10-27 Thread Jason Wang
在 2022/10/21 17:09, Laurent Vivier 写道: Signed-off-by: Laurent Vivier Acked-by: Michael S. Tsirkin --- I got this: 63/63 ERROR:../tests/qtest/netdev-socket.c:139:test_stream_inet_ipv6: assertion failed (resp == expect): ("st0: index=0,type=stream,connection error\r\n" == "st0: index=0,ty

Re: [PATCH v13 00/17] qapi: net: add unix socket type support to netdev backend

2022-10-20 Thread Jason Wang
On Fri, Oct 21, 2022 at 2:46 PM Markus Armbruster wrote: > > Jason Wang writes: > > > I've queued this version and will send pull requests shortly. > > > > Any future comment we can do patches on top. > > Please give Laurent and me a few hours to try

Re: [PATCH v13 00/17] qapi: net: add unix socket type support to netdev backend

2022-10-20 Thread Jason Wang
On Fri, Oct 21, 2022 at 12:26 AM Laurent Vivier wrote: > > "-netdev socket" only supports inet sockets. > > It's not a complex task to add support for unix sockets, but > the socket netdev parameters are not defined to manage well unix > socket parameters. > > As discussed in: > > "socket.c adde

[PATCH] xen/pciback: Fix comment typo

2022-08-11 Thread Jason Wang
The double `the' is duplicated in the comment, remove one. Signed-off-by: Jason Wang --- drivers/xen/xen-pciback/pciback_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pciback/pciback_ops.c index 3fbc214

[PATCH] xen/pciback: fix typo in a comment

2021-12-11 Thread Jason Wang
The double `the' in the comment in line 163 is repeated. Remove it from the comment. Signed-off-by: Jason Wang --- drivers/xen/xen-pciback/pciback_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pc

Re: [PATCH v7 0/5] Introducing QMP query-netdev command

2021-03-15 Thread Jason Wang
在 2021/3/12 下午6:29, Alexey Kirillov 写道: ping Patchew page: https://patchew.org/QEMU/20210303095910.78277-1-lekir...@yandex-team.ru Applied. Thanks 03.03.2021, 13:01, "Alexey Kirillov" : This patch series introduces a new QMP command "query-netdev" to get information about currently a