Tested this patch with virtio-net regression tests, everything works fine. Tested-by: Lei Yang <leiy...@redhat.com>
On Sun, Aug 3, 2025 at 5:51 PM Akihiko Odaki <od...@rsg.ci.i.u-tokyo.ac.jp> wrote: > > On 2025/08/03 17:54, Michael Tokarev wrote: > > This field is a fixed-size buffer (number of elements is MAX_VLAN, > > known at build time). There's no need to allocate it dynamically, > > it can be made an integral part of VirtIONet structure. > > > > This field is the only user of VMSTATE_BUFFER_POINTER_UNSAFE() macro. > > > > Signed-off-by: Michael Tokarev <m...@tls.msk.ru> > > Reviewed-by: Akihiko Odaki <od...@rsg.ci.i.u-tokyo.ac.jp> >