[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/1] virtio-pci: Fix the crash that the vector was used af
From: |
Cindy Lu |
Subject: |
Re: [PATCH v2 1/1] virtio-pci: Fix the crash that the vector was used after released. |
Date: |
Wed, 10 Apr 2024 14:29:03 +0800 |
On Wed, Apr 10, 2024 at 1:48 PM Jason Wang <jasowang@redhat.com> wrote:
>
> On Wed, Apr 10, 2024 at 1:29 PM Cindy Lu <lulu@redhat.com> wrote:
> >
> > When the guest triggers vhost_stop and then virtio_reset, the vector will
> > the
> > IRQFD for this vector will be released and change to VIRTIO_NO_VECTOR.
> > After that, the guest called vhost_net_start, (at this time, the configure
> > vector is still VIRTIO_NO_VECTOR), vector 0 still was not "init".
> > The guest system continued to boot, set the vector back to 0, and then met
> > the crash.
>
> Btw, the description of the cover letter seems to be better, how about
> just using that (so there won't be a cover letter since this series
> just have 1 patch)?
>
> Thanks
>
sure will send a new version
Thanks
Cindy