All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Amos Kong <akong@redhat.com>,
	stefanha@redhat.com, qemu-devel@nongnu.org,
	anthony@codemonkey.ws
Subject: Re: [Qemu-devel] [PATCH 0/2] fix updating of nic info
Date: Thu, 17 Oct 2013 11:15:21 +0300	[thread overview]
Message-ID: <20131017081521.GC13975@redhat.com> (raw)
In-Reply-To: <20131017075847.GA10774@stefanha-thinkpad.redhat.com>

On Thu, Oct 17, 2013 at 09:58:47AM +0200, Stefan Hajnoczi wrote:
> On Thu, Oct 17, 2013 at 03:02:48PM +0800, Amos Kong wrote:
> > I tried to change macaddr in guest, addr in guest is updated, and guest
> > network is fine. But the nic information in monitor isn't update. This
> > problem both exists in e1000 and rtl8139.
> > 
> >   1) change macaddr in guest by ifconfig
> >   guest)# ifconfig eth0 hw ether 12:12:12:34:35:36
> >   guest)# ifconfig eth0
> >   
> >   2) check network information in monitor
> >   (qemu) info network
> >   
> > Amos Kong (2):
> >   net/e1000: update network information when macaddr is changed in guest
> >   net/rtl8139: update network information when macaddr is changed in
> >     guest
> > 
> >  hw/net/e1000.c   | 8 ++++++++
> >  hw/net/rtl8139.c | 6 +++++-
> >  2 files changed, 13 insertions(+), 1 deletion(-)
> 
> Thanks, applied to my net tree:
> https://github.com/stefanha/qemu/commits/net
> 
> Stefan

Please revert, this is buggy:

info is changed on guest mac write but is
not reverted on reset.

Let's fix it properly, no need to introduce
new regressions when fixing old bugs :)

-- 
MST

  reply	other threads:[~2013-10-17  8:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17  7:02 [Qemu-devel] [PATCH 0/2] fix updating of nic info Amos Kong
2013-10-17  7:02 ` [Qemu-devel] [PATCH 1/2] net/e1000: update network information when macaddr is changed in guest Amos Kong
2013-10-17  7:02 ` [Qemu-devel] [PATCH 2/2] net/rtl8139: " Amos Kong
2013-10-17  7:58 ` [Qemu-devel] [PATCH 0/2] fix updating of nic info Stefan Hajnoczi
2013-10-17  8:15   ` Michael S. Tsirkin [this message]
2013-10-17  8:31     ` Amos Kong
2013-10-17  9:34       ` Michael S. Tsirkin
2013-10-18 10:02         ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131017081521.GC13975@redhat.com \
    --to=mst@redhat.com \
    --cc=akong@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.