[PATCH QEMU v7 0/9] migration: introduce dirtylimit capability

2023-07-04 Thread ~hyman
Hi, Juan, this version maybe the last version, i rebase on master and fix the conflicts with the switchover-ack capability. Please be free to the take this version to make PR or the previous version if you already fixed conflicts. v7: 1. Rebase on master and fix conflicts v6: 1. Rebase on master

[PATCH QEMU v7 9/9] tests: Add migration dirty-limit capability test

2023-07-04 Thread ~hyman
From: Hyman Huang(黄勇) Add migration dirty-limit capability test if kernel support dirty ring. Migration dirty-limit capability introduce dirty limit capability, two parameters: x-vcpu-dirty-limit-period and vcpu-dirty-limit are introduced to implement the live migration with dirty limit. The te

[PATCH QEMU v7 1/9] softmmu/dirtylimit: Add parameter check for hmp "set_vcpu_dirty_limit"

2023-07-04 Thread ~hyman
From: Hyman Huang(黄勇) dirty_rate paraemter of hmp command "set_vcpu_dirty_limit" is invalid if less than 0, so add parameter check for it. Note that this patch also delete the unsolicited help message and clean up the code. Signed-off-by: Hyman Huang(黄勇) Reviewed-by: Markus Armbruster Reviewe

[PATCH QEMU v7 7/9] migration: Implement dirty-limit convergence algo

2023-07-04 Thread ~hyman
From: Hyman Huang(黄勇) Implement dirty-limit convergence algo for live migration, which is kind of like auto-converge algo but using dirty-limit instead of cpu throttle to make migration convergent. Enable dirty page limit if dirty_rate_high_cnt greater than 2 when dirty-limit capability enabled,

Re: [PATCH] net: add initial support for AF_XDP network backend

2023-07-04 Thread Jason Wang
On Mon, Jul 3, 2023 at 5:03 PM Stefan Hajnoczi wrote: > > On Fri, 30 Jun 2023 at 09:41, Jason Wang wrote: > > > > On Thu, Jun 29, 2023 at 8:36 PM Stefan Hajnoczi wrote: > > > > > > On Thu, 29 Jun 2023 at 07:26, Jason Wang wrote: > > > > > > > > On Wed, Jun 28, 2023 at 4:25 PM Stefan Hajnoczi

Re: [PATCH 1/2] virtio-iommu: Fix 64kB host page size VFIO device assignment

2023-07-04 Thread Eric Auger
Hi Zhenzhong, On 7/5/23 06:52, Duan, Zhenzhong wrote: > Hi Eric, > >> -Original Message- >> From: Eric Auger >> Sent: Tuesday, July 4, 2023 7:15 PM >> Subject: [PATCH 1/2] virtio-iommu: Fix 64kB host page size VFIO device >> assignment >> >> When running on a 64kB page size host and protec

Re: [PATCH v2] vfio: Fix null pointer dereference bug in vfio_bars_finalize()

2023-07-04 Thread Avihai Horon
On 04/07/2023 18:54, Cédric Le Goater wrote: External email: Use caution opening links or attachments Hello Avihai On 7/4/23 15:39, Avihai Horon wrote: vfio_realize() has the following flow: 1. vfio_bars_prepare() -- sets VFIOBAR->size. 2. msix_early_setup(). 3. vfio_bars_register() -- allo

Re: [PATCH RFC v2 2/4] vdpa: Restore MAC address filtering state

2023-07-04 Thread Eugenio Perez Martin
On Wed, Jul 5, 2023 at 3:43 AM Hawkins Jiawei wrote: > > On 2023/7/4 22:53, Eugenio Perez Martin wrote: > > On Thu, Jun 29, 2023 at 5:26 PM Hawkins Jiawei wrote: > >> > >> This patch refactors vhost_vdpa_net_load_mac() to > >> restore the MAC address filtering state at device's startup. > >> > >>

Re: [PATCH 1/1] pcie: Add hotplug detect state register to w1cmask

2023-07-04 Thread Leonardo Bras Soares Passos
On Tue, Jul 4, 2023 at 3:43 AM Michael S. Tsirkin wrote: > > On Tue, Jul 04, 2023 at 03:20:36AM -0300, Leonardo Brás wrote: > > Hello Peter and Michael, I have a few updates on this: > > > > On Mon, 2023-07-03 at 02:20 -0300, Leonardo Brás wrote: > > > Hello Peter and Michael, thanks for reviewing

Re: [PATCH RFC v2 3/4] vdpa: Restore packet receive filtering state relative with _F_CTRL_RX feature

2023-07-04 Thread Eugenio Perez Martin
On Wed, Jul 5, 2023 at 4:09 AM Hawkins Jiawei wrote: > > On 2023/7/4 23:39, Eugenio Perez Martin wrote: > > On Thu, Jun 29, 2023 at 5:26 PM Hawkins Jiawei wrote: > >> > >> This patch introduces vhost_vdpa_net_load_rx_mode() > >> and vhost_vdpa_net_load_rx() to restore the packet > >> receive filt

Re: [PATCH RFC v2 3/4] vdpa: Restore packet receive filtering state relative with _F_CTRL_RX feature

2023-07-04 Thread Hawkins Jiawei
On 2023/7/5 14:40, Eugenio Perez Martin wrote: > On Wed, Jul 5, 2023 at 4:09 AM Hawkins Jiawei wrote: >> >> On 2023/7/4 23:39, Eugenio Perez Martin wrote: >>> On Thu, Jun 29, 2023 at 5:26 PM Hawkins Jiawei wrote: This patch introduces vhost_vdpa_net_load_rx_mode() and vhost_vdpa_ne

<    1   2   3   4