qemu-devel
[Top][All Lists]
Advanced

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

Re: virtio: why no full reset on virtio_set_status 0 ?


From: Michael S. Tsirkin
Subject: Re: virtio: why no full reset on virtio_set_status 0 ?
Date: Fri, 29 Jul 2022 06:13:22 -0400

On Fri, Jul 29, 2022 at 11:46:05AM +0200, Claudio Fontana wrote:
> >> @@ -2025,7 +2031,6 @@ void virtio_reset(void *opaque)
> >>      VirtioDeviceClass *k = VIRTIO_DEVICE_GET_CLASS(vdev);
> >>      int i;
> >>  
> >> -    virtio_set_status(vdev, 0);
> >>      if (current_cpu) {
> >>          /* Guest initiated reset */
> >>          vdev->device_endian = virtio_current_cpu_endian();
> >> -- 
> >> 2.26.2
> > 
> > As you say this is incomplete ... bout could you share a bit more
> > of what issue does this address?
> > 
> 
> Hi, the problem I am trying to address is a segfault in OVS/dpdk that looks 
> like this:

Sorry I was not clear. What I mean is, you don't yet know why does removing
virtio_set_status call here prevent the crash in ovs, do you?

-- 
MST




reply via email to

[Prev in Thread] Current Thread [Next in Thread]