Re: [PULL 3/3] vdpa: Fix memory listener deletions of iova tree

2022-07-28 Thread Lei Yang
Jason Wang 于2022年7月28日周四 14:27写道: > On Thu, Jul 28, 2022 at 2:14 PM Lei Yang wrote: > > > > I tried to manually changed this line then test this branch on local > host. After the migration is successful, the qemu core dump occurs on the > shutdown inside guest. > > > > Compiled qemu Steps: > >

Re: [PULL 3/3] vdpa: Fix memory listener deletions of iova tree

2022-07-28 Thread Jason Wang
On Thu, Jul 28, 2022 at 2:14 PM Lei Yang wrote: > > I tried to manually changed this line then test this branch on local host. > After the migration is successful, the qemu core dump occurs on the shutdown > inside guest. > > Compiled qemu Steps: > # git clone

Re: [PULL 3/3] vdpa: Fix memory listener deletions of iova tree

2022-07-28 Thread Lei Yang
I tried to manually changed this line then test this branch on local host. After the migration is successful, the qemu core dump occurs on the shutdown inside guest. Compiled qemu Steps: # git clone https://gitlab.com/eperezmartin/qemu-kvm.git # cd qemu-kvm/ # mkdir build # cd build/ # git

[PULL 3/3] vdpa: Fix memory listener deletions of iova tree

2022-07-26 Thread Jason Wang
From: Eugenio Pérez vhost_vdpa_listener_region_del is always deleting the first iova entry of the tree, since it's using the needle iova instead of the result's one. This was detected using a vga virtual device in the VM using vdpa SVQ. It makes some extra memory adding and deleting, so the