Bug 1002797
Summary: | [whql][netkvm]NDISTest 6.5 - [2 Machine] - AddressChange failed on each of guest | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Min Deng <mdeng> | ||||||||||||||||||||
Component: | qemu-kvm | Assignee: | Michael S. Tsirkin <mst> | ||||||||||||||||||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||||||||||||||
Severity: | urgent | Docs Contact: | |||||||||||||||||||||
Priority: | urgent | ||||||||||||||||||||||
Version: | 6.5 | CC: | acathrow, bcao, bsarathy, dfleytma, jguo, juzhang, mdeng, michen, mkenneth, mst, qzhang, rhod, virt-maint, yvugenfi | ||||||||||||||||||||
Target Milestone: | rc | Keywords: | Regression, TestBlocker | ||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||
Whiteboard: | |||||||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||
Last Closed: | 2013-09-17 15:38:07 UTC | Type: | Bug | ||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||
Attachments: |
|
Description
Min Deng
2013-08-30 03:33:37 UTC
Created attachment 792006 [details]
2008R2
Created attachment 792007 [details]
732
Created attachment 792011 [details]
764
Created attachment 792014 [details]
832
Created attachment 792016 [details]
864
Created attachment 792017 [details]
2012
QE test "Ethernet - NDISTest 6.5" job on WLK1.6, hit the same issue on win2k8-32/64. package version as comment #0 Created attachment 792740 [details]
win2k8-32-netkvm-67-WLK
Hello, I cannot reproduce the issue with legacy mac address setting or with control queue mac address setting in my environment. Can you provide command line for QEMU (what's the default address that is set to adapter on both test VMs)? And please run DebugView http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx during the test on NDISTest client VM (run as administrator and enable Capture->Capture kernel option) and attach the log to BZ. Thanks, Yan. Hi Yan, The job still failed on all the guests and provide CLI about win2012 guest. Guest 1- /usr/libexec/qemu-kvm -M rhel6.5.0 -m 6G -smp 8,cores=8 -cpu cpu64-rhel6,+x2apic -usb -device usb-tablet -drive file=win2012-nic1.raw,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,sndbuf=0,id=hostnet0,vhost=on,script=/etc/qemu-ifup-private,downscript=no -device virtio-net-pci,netdev=hostnet0,mac=00:65:35:12:12:21,bus=pci.0,addr=0x4,id=virtio-net-pci0,ctrl_guest_offloads=on -netdev tap,sndbuf=0,id=hostnet2,script=/etc/qemu-ifup,downscript=no -device e1000,netdev=hostnet2,mac=00:43:2a:52:44:13,bus=pci.0,addr=0x6 -uuid 79b5111e-4064-4d83-aba7-bd904e014406 -no-kvm-pit-reinjection -chardev socket,id=111a,path=/tmp/monitor-win2012-nic1,server,nowait -mon chardev=111a,mode=readline -vnc :2 -vga cirrus -name win2012-nic1-69-HCK -rtc base=localtime,clock=host,driftfix=slew -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor stdio Guest 2- /usr/libexec/qemu-kvm -M rhel6.5.0 -m 2G -smp 2,cores=2 -cpu cpu64-rhel6,+x2apic -usb -device usb-tablet -drive file=win2012-nic2.raw,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,sndbuf=0,id=hostnet0,vhost=on,script=/etc/qemu-ifup-private,downscript=no -device virtio-net-pci,netdev=hostnet0,mac=00:45:25:42:32:21,bus=pci.0,addr=0x4,id=virtio-net-pci0,ctrl_guest_offloads=on -netdev tap,sndbuf=0,id=hostnet2,script=/etc/qemu-ifup,downscript=no -device e1000,netdev=hostnet2,mac=00:42:4a:52:24:33,bus=pci.0,addr=0x6 -uuid ab1b3a51-0720-4b41-963d-52275ea0fe5a -no-kvm-pit-reinjection -chardev socket,id=111a,path=/tmp/monitor-win2012-nic2,server,nowait -mon chardev=111a,mode=readline -vnc :3 -vga cirrus -name win2012-nic2-69-HCK -rtc base=localtime,clock=host,driftfix=slew -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor stdio Besides,as soon as I got the DebugView log I will upload it to the bug,thanks. Best regards Min Created attachment 796750 [details]
CLI of win764
Created attachment 796751 [details]
DebugView-log
According to Yan ,re-assign this bug to qemu-kvm conponent Missing commit from upstream: 41dc8a67c7dcecdf7ae1cd25db3c46f2b42a221f commit 41dc8a67c7dcecdf7ae1cd25db3c46f2b42a221f Author: Michael S. Tsirkin <mst> Date: Wed Jan 16 11:37:40 2013 +0200 virtio-net: revert mac on reset Once guest overrides virtio net primary mac, it retains the value set until qemu exit. This is inconsistent with standard nic behaviour. To fix, revert the mac to the original value on reset. Signed-off-by: Michael S. Tsirkin <mst> diff --git a/hw/virtio-net.c b/hw/virtio-net.c index 3bb01b1..4d80a25 100644 --- a/hw/virtio-net.c +++ b/hw/virtio-net.c @@ -199,6 +199,7 @@ static void virtio_net_reset(VirtIODevice *vdev) n->mac_table.multi_overflow = 0; n->mac_table.uni_overflow = 0; memset(n->mac_table.macs, 0, MAC_TABLE_ENTRIES * ETH_ALEN); + memcpy(&n->mac[0], &n->nic->conf->macaddr, sizeof(n->mac)); memset(n->vlans, 0, MAX_VLAN >> 3); } *** This bug has been marked as a duplicate of bug 890265 *** |