Re: [RFC] virtio: enforce link up

2023-10-15 Thread Vincent Jardin
On 10/15/23 10:42, Michael S. Tsirkin wrote: > On Sat, Oct 14, 2023 at 09:06:09PM +, Vincent Jardin wrote: >> On 10/14/23 18:37, Michael S. Tsirkin wrote: >>> On Sat, Oct 14, 2023 at 06:22:34PM +0200, Vincent Jardin wrote: Using interface's settings, let's enforce an always on link up. >>>

Re: [RFC] virtio: enforce link up

2023-10-15 Thread Michael S. Tsirkin
On Sat, Oct 14, 2023 at 09:06:09PM +, Vincent Jardin wrote: > On 10/14/23 18:37, Michael S. Tsirkin wrote: > > On Sat, Oct 14, 2023 at 06:22:34PM +0200, Vincent Jardin wrote: > >> Using interface's settings, let's enforce an always on link up. > >> > >> Signed-off-by: Vincent Jardin > > > > W

Re: [RFC] virtio: enforce link up

2023-10-14 Thread Vincent Jardin
On 10/14/23 18:37, Michael S. Tsirkin wrote: > On Sat, Oct 14, 2023 at 06:22:34PM +0200, Vincent Jardin wrote: >> Using interface's settings, let's enforce an always on link up. >> >> Signed-off-by: Vincent Jardin > > What is going on here? Just don't set it down. The purpose is to have a stable

Re: [RFC] virtio: enforce link up

2023-10-14 Thread Michael S. Tsirkin
On Sat, Oct 14, 2023 at 06:22:34PM +0200, Vincent Jardin wrote: > Using interface's settings, let's enforce an always on link up. > > Signed-off-by: Vincent Jardin What is going on here? Just don't set it down. > --- > hw/net/virtio-net.c| 8 > include/hw/virtio/virtio-net

[RFC] virtio: enforce link up

2023-10-14 Thread Vincent Jardin
Using interface's settings, let's enforce an always on link up. Signed-off-by: Vincent Jardin --- hw/net/virtio-net.c| 8 include/hw/virtio/virtio-net.h | 2 ++ 2 files changed, 10 insertions(+) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index 29e33ea5ed..e731b4