ping. When VHOST_USER_PROTOCOL_F_HOST_NOTIFIER this feature negotiated and virtio_queue_set_host_notifier_mr success on system blk device's queue, the VM can't load MBR if the notify region's address above 4GB. Because the vp_notify in seabios maybe cann't notify the hardware accelerator by kickfd from qemu notify_ops.
Thanks. > -----Original Message----- > From: Gao Shiyuan <gaoshiy...@baidu.com> > 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 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 > exit to QEMU and invoke virtio_address_space_write. When vhost-user > backend register memory region based host notifiers, return RAM device > MR instead of notify region MR is suitable. > > Co-developed-by: Zuo Boqun <zuobo...@baidu.com> > Signed-off-by: Gao Shiyuan <gaoshiy...@baidu.com> > Signed-off-by: Zuo Boqun <zuobo...@baidu.com>