[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH qemu 1/1] vmxnet3: add mac address restore upon reset
From: |
Влад Мао |
Subject: |
Re: [PATCH qemu 1/1] vmxnet3: add mac address restore upon reset |
Date: |
Mon, 30 Jan 2023 21:58:34 +0300 |
Signed-off-by: Vlao Mao <vlaomao@gmail.com>
пн, 30 янв. 2023 г. в 21:12, Laurent Vivier <laurent@vivier.eu>:
>
> Le 30/01/2023 à 18:28, ~vlaomao a écrit :
> > From: VlaoMao <vlaomao@gmail.com>
> >
> > Changing the address with a subsequent reboot makes this address permanent
> > until the vm is turned off
>
> Missing Signed-off-by.
>
> See https://www.qemu.org/docs/master/devel/submitting-a-patch.html
>
> > ---
> > hw/net/vmxnet3.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c
> > index 04159c822..695ca2f92 100644
> > --- a/hw/net/vmxnet3.c
> > +++ b/hw/net/vmxnet3.c
> > @@ -1206,6 +1206,8 @@ static void vmxnet3_reset(VMXNET3State *s)
> > s->drv_shmem = 0;
> > s->tx_sop = true;
> > s->skip_current_tx_pkt = false;
> > +
> > + vmxnet3_reset_mac(s);
> > }
> >
> > static void vmxnet3_update_rx_mode(VMXNET3State *s)
>
>