From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWhc3-0001V2-UL for qemu-devel@nongnu.org; Thu, 17 Oct 2013 03:03:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWhbx-0003Ng-Uo for qemu-devel@nongnu.org; Thu, 17 Oct 2013 03:03:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWhbx-0003NV-NR for qemu-devel@nongnu.org; Thu, 17 Oct 2013 03:03:09 -0400 From: Amos Kong Date: Thu, 17 Oct 2013 15:02:48 +0800 Message-Id: <1381993370-26201-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] fix updating of nic info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: anthony@codemonkey.ws, stefanha@redhat.com, mst@redhat.com 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(-) -- 1.8.3.1