Check guest network link status of virtio nic with status=on failed (build 110)
Steps to Reproduce:
1 boot up guest with following cli (status=on)
/usr/libexec/qemu-kvm -name win7-32 -enable-kvm -m 2G -smp 4 -uuid ae361e8d-28a4-4e70-8783-bda0d450ce35 -nodefconfig --nodefaults -chardev socket,id=charmonitor,path=/tmp/win7-32,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -boot order=cd,menu=on -drive file=win.raw,if=none,id=drive-ide0-0-0,format=raw,serial=mike_cao,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive file=driver.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 -vga qxl -spice disable-ticketing,port=5909 -monitor stdio -qmp tcp:0:4446,server,nowait -netdev tap,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown,id=hostnet1,vhost=off,queues=4, -device virtio-net-pci,netdev=hostnet1,id=net1,mac=1a:46:0b:ca:bc:8c,bus=pci.0,mq=on,vectors=10,status=on
2.Inside guest, ping out from guest
3.Under qemu monitor, set network link down.
(qemu)set_link net1 off
4.Inside guest, ping out from guest
5.Reboot guest inside
# ctrl+alt+del --> reboot
6.Inside guest, ping out from guest
7.Reboot guest via qemu monitor
8.Inside guest, ping out from guest
9.Under qemu monitor, set network link up.
(qemu)set_link net1 on
10.Inside guest, ping out from guest
After step 3,the network status is still on, can not ping out
After step 9,the network status is still off and can not ping out
After step 3, the network status is off, can not ping out
After step 9,the network status is on and can ping out
1 All the windows guests hit this issue.
2 build 105 and 7.1.z don't hit this issue, so it is a regression bug.
After step 9, disable/enable this driver on device manager, the network can ping out.
After step 9, reboot the guest, the network status is on and can ping out.
Reproduced this issue on virtio-win-prewhql-110 version
Verified this issue on virtio-win-prewhql-111 version
Steps same as comment#0
on virtio-win-prewhql-110 (un-fixed version) version, this issue can be reproduced
on virtio-win-prewhql-111 (fix version), the network status is normally, and can/cannot ping out, no more reproduced
Base on above, this issue has been fixed already.
change status to verified according to comment#2
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.