Bug 1300626 - e1000/rtl8139: qemu mac address can not be changed via set the hardware address in guest
Summary: e1000/rtl8139: qemu mac address can not be changed via set the hardware addre...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Vlad Yasevich
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 922589
Blocks: 1359965
TreeView+ depends on / blocked
 
Reported: 2016-01-21 10:07 UTC by weliao
Modified: 2017-03-21 09:36 UTC (History)
13 users (show)

Fixed In Version: qemu-kvm-0.12.1.2-2.498.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 922589
Environment:
Last Closed: 2017-03-21 09:36:51 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0621 0 normal SHIPPED_LIVE Moderate: qemu-kvm security and bug fix update 2017-03-21 12:28:31 UTC

Comment 1 weliao 2016-01-21 10:12:29 UTC
retested on rhel6.7 host version:

2.6.32-573.el6.x86_64
qemu-kvm-0.12.1.2-2.479.el6.x86_64


also had this issue, so this not a regression bug.

Comment 3 weliao 2016-01-22 03:00:17 UTC
retested rhel6.7.Z host version:
2.6.32-573.19.1.el6.x86_64
qemu-kvm-0.12.1.2-2.479.el6_7.3.x86_64

also had this issue.

Comment 4 Vlad Yasevich 2016-03-07 13:25:04 UTC
Moving to 6.9.  Not critical.

Comment 5 Yash Mankad 2016-12-14 19:13:41 UTC
Fix included in qemu-kvm-0.12.1.2-2.498.el6

Comment 7 weliao 2016-12-19 03:32:34 UTC
Reproduced this bug in following versions:
Host:
    2.6.32-672.el6.x86_64
    qemu-kvm-0.12.1.2-2.496.el6.x86_64
Guest:
    2.6.32-671.el6.x86_64

Steps to Reproduce:
1.Boot a guest with(e1000/rtl8139):
-device e1000,mac=9a:60:61:62:63:64,id=idpBvu3g,netdev=idTjoQTn,bus=pci.0,addr=05 \
-netdev tap,id=idTjoQTn

2.Change mac address in guest
#ip link set eth0 addr 9a:60:61:62:63:68

3.Check the mac address in guest and qemu monitor
Before Mac change:
(qemu) info network 
Devices not on any VLAN:
  idTjoQTn: ifname=tap0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown peer=idpBvu3g
  idpBvu3g: model=e1000,macaddr=9a:60:61:62:63:64 peer=idTjoQTn
After Mac change:
(qemu) info network 
Devices not on any VLAN:
  idTjoQTn: ifname=tap0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown peer=idpBvu3g
  idpBvu3g: model=e1000,macaddr=9a:60:61:62:63:64 peer=idTjoQTn

The same result with rtl8139 NIC.

-----------------------------------------------------------------------------
Verify this bug in following versions:
Host:
    2.6.32-672.el6.x86_64
    qemu-kvm-0.12.1.2-2.498.el6.x86_64
Guest:
    2.6.32-671.el6.x86_64

The same test steps:
Step3 results:
Before Mac change:
(qemu) info network 
Devices not on any VLAN:
  idTjoQTn: ifname=tap0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown peer=idpBvu3g
  idpBvu3g: model=e1000,macaddr=9a:60:61:62:63:64 peer=idTjoQTn
After Mac change:
(qemu) info network 
Devices not on any VLAN:
  idTjoQTn: ifname=tap0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown peer=idpBvu3g
  idpBvu3g: model=e1000,macaddr=9a:60:61:62:63:68 peer=idTjoQTn

Mac address can be change in qemu monitor, so this bug fixed well.

Comment 9 errata-xmlrpc 2017-03-21 09:36:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0621.html


Note You need to log in before you can comment on or make changes to this bug.