Re: [PATCH 1/1] virtio-pci: return RAM device MR when set host notifier success

2024-08-16 Thread Gao,Shiyuan
> > When vhost-user backend register memory region based host notifiers, > > we should return RAM device MR of notify region MR's subregion in > > virtio_address_space_lookup. > > > > In seabios, it will use virtio PCI Configration Access Capability > > access notify region when assign notify regio

Re: [PATCH 1/1] virtio-pci: return RAM device MR when set host notifier success

2024-08-16 Thread Jason Wang
On Fri, Aug 16, 2024 at 6:29 PM Michael S. Tsirkin wrote: > > On Mon, Aug 12, 2024 at 08:20:27PM +0800, Gao Shiyuan wrote: > > When vhost-user backend register memory region based host notifiers, > > we should return RAM device MR of notify region MR's subregion in > > virtio_address_space_lookup.

Re: [PATCH 1/1] virtio-pci: return RAM device MR when set host notifier success

2024-08-16 Thread Michael S. Tsirkin
On Mon, Aug 12, 2024 at 08:20:27PM +0800, Gao Shiyuan wrote: > When vhost-user backend register memory region based host notifiers, > we should return RAM device MR of notify region MR's subregion in > virtio_address_space_lookup. > > In seabios, it will use virtio PCI Configration Access Capabili

Re: [PATCH 1/1] virtio-pci: return RAM device MR when set host notifier success

2024-08-16 Thread Gao,Shiyuan
dware accelerator by kickfd from qemu notify_ops. Thanks. > -Original Message- > From: Gao Shiyuan > Date: Mon, 12 Aug 2024 20:09:01 +0800 > Subject: [PATCH 1/1] virtio-pci: return RAM device MR when set host notifier > success > > When vhost-user backend register memory

[PATCH 1/1] virtio-pci: return RAM device MR when set host notifier success

2024-08-12 Thread Gao Shiyuan via
When vhost-user backend register memory region based host notifiers, we should return RAM device MR of notify region MR's subregion in virtio_address_space_lookup. In seabios, it will use virtio PCI Configration Access Capability access notify region when assign notify region above 4GB. This will