Re: [PATCH vhost 0/2] virtio: set broken when re-enable vq fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 24 Oct 2023 11:48:59 +0800, Xuan Zhuo <xuanzhuo@xxxxxxxxxxxxxxxxx> wrote:
> In vp_modern_enable_vq_after_reset, we will do some check to ensure
> that the vq is in reset status. If that fails, the vq is good.
>
> If the vq_active_vp() fails, that means the vq is broken.
> The driver will can not use that vq, this commit sets
> the vq to broken.


Hi Michael,

Is this in your list?

Thanks


>
> Xuan Zhuo (2):
>   virtio_ring: remove unused code
>   virtio: set broken when re-enabling vq fails
>
>  drivers/virtio/virtio_pci_modern.c |  6 +++---
>  drivers/virtio/virtio_ring.c       | 15 ++++++++++-----
>  include/linux/virtio_config.h      |  2 ++
>  3 files changed, 15 insertions(+), 8 deletions(-)
>
> --
> 2.32.0.3.g01195cf9f
>




[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux