Re: [PATCH-for-6.0] net: tap: fix crash on hotplug

2021-04-22 Thread Jason Wang
在 2021/4/23 上午5:34, Cole Robinson 写道: On 4/22/21 5:42 AM, Bin Meng wrote: On Thu, Apr 22, 2021 at 5:36 PM Peter Maydell wrote: On Thu, 22 Apr 2021 at 05:29, Bin Meng wrote: On Thu, Apr 22, 2021 at 12:36 AM Philippe Mathieu-Daudé wrote: Cc'ing Bin. On 4/21/21 5:22 PM, Cole Robinson wrote

Re: [PATCH-for-6.0] net: tap: fix crash on hotplug

2021-04-22 Thread Cole Robinson
On 4/22/21 5:42 AM, Bin Meng wrote: > On Thu, Apr 22, 2021 at 5:36 PM Peter Maydell > wrote: >> >> On Thu, 22 Apr 2021 at 05:29, Bin Meng wrote: >>> >>> On Thu, Apr 22, 2021 at 12:36 AM Philippe Mathieu-Daudé >>> wrote: Cc'ing Bin. On 4/21/21 5:22 PM, Cole Robinson wrote: >>

Re: [PATCH-for-6.0] net: tap: fix crash on hotplug

2021-04-22 Thread Bin Meng
On Thu, Apr 22, 2021 at 5:36 PM Peter Maydell wrote: > > On Thu, 22 Apr 2021 at 05:29, Bin Meng wrote: > > > > On Thu, Apr 22, 2021 at 12:36 AM Philippe Mathieu-Daudé > > wrote: > > > > > > Cc'ing Bin. > > > > > > On 4/21/21 5:22 PM, Cole Robinson wrote: > > > > Attempting to hotplug a tap nic w

Re: [PATCH-for-6.0] net: tap: fix crash on hotplug

2021-04-22 Thread Peter Maydell
On Thu, 22 Apr 2021 at 05:29, Bin Meng wrote: > > On Thu, Apr 22, 2021 at 12:36 AM Philippe Mathieu-Daudé > wrote: > > > > Cc'ing Bin. > > > > On 4/21/21 5:22 PM, Cole Robinson wrote: > > > Attempting to hotplug a tap nic with libvirt will crash qemu: > > > > > > $ sudo virsh attach-interface f32

Re: [PATCH-for-6.0] net: tap: fix crash on hotplug

2021-04-21 Thread Bin Meng
On Thu, Apr 22, 2021 at 12:36 AM Philippe Mathieu-Daudé wrote: > > Cc'ing Bin. > > On 4/21/21 5:22 PM, Cole Robinson wrote: > > Attempting to hotplug a tap nic with libvirt will crash qemu: > > > > $ sudo virsh attach-interface f32 network default > > error: Failed to attach interface > > error: U

Re: [PATCH-for-6.0] net: tap: fix crash on hotplug

2021-04-21 Thread Jason Wang
在 2021/4/21 下午11:22, Cole Robinson 写道: Attempting to hotplug a tap nic with libvirt will crash qemu: $ sudo virsh attach-interface f32 network default error: Failed to attach interface error: Unable to read from monitor: Connection reset by peer 0x55875b7f3a99 in tap_send (opaque=0x55875e

Re: [PATCH-for-6.0] net: tap: fix crash on hotplug

2021-04-21 Thread Cole Robinson
On 4/21/21 3:54 PM, Peter Maydell wrote: > On Wed, 21 Apr 2021 at 16:24, Cole Robinson wrote: >> >> Attempting to hotplug a tap nic with libvirt will crash qemu: >> >> $ sudo virsh attach-interface f32 network default >> error: Failed to attach interface >> error: Unable to read from monitor: Conn

Re: [PATCH-for-6.0] net: tap: fix crash on hotplug

2021-04-21 Thread Peter Maydell
On Wed, 21 Apr 2021 at 16:24, Cole Robinson wrote: > > Attempting to hotplug a tap nic with libvirt will crash qemu: > > $ sudo virsh attach-interface f32 network default > error: Failed to attach interface > error: Unable to read from monitor: Connection reset by peer > > 0x55875b7f3a99 in ta

Re: [PATCH-for-6.0] net: tap: fix crash on hotplug

2021-04-21 Thread Philippe Mathieu-Daudé
Cc'ing Bin. On 4/21/21 5:22 PM, Cole Robinson wrote: > Attempting to hotplug a tap nic with libvirt will crash qemu: > > $ sudo virsh attach-interface f32 network default > error: Failed to attach interface > error: Unable to read from monitor: Connection reset by peer > > 0x55875b7f3a99 in

[PATCH-for-6.0] net: tap: fix crash on hotplug

2021-04-21 Thread Cole Robinson
Attempting to hotplug a tap nic with libvirt will crash qemu: $ sudo virsh attach-interface f32 network default error: Failed to attach interface error: Unable to read from monitor: Connection reset by peer 0x55875b7f3a99 in tap_send (opaque=0x55875e39eae0) at ../net/tap.c:206 206