Red Hat Bugzilla – Bug 589448
Could not get network after S4 in guest
Last modified: 2015-05-24 20:05:32 EDT
Description of problem:
Start guest and the guest can get IP and can PING host. But the guest could not
get network and ping host after S4.
But it's fine when using e1000 or rtl8139 NIC.
Version-Release number of selected component (if applicable):
host kernel: 2.6.32-19.el6.x86_64
guest kernel: 2.6.18-194.el5
# rpm -qa |grep kvm
Steps to Reproduce:
1. start guest
/root/autotest/client/tests/kvm/qemu -name 'vm1' -monitor tcp:0:6001,server,nowait -drive file=/root/autotest/client/tests/kvm/images/RHEL-Server-5.5-64-virtio.qcow2,if=ide,cache=none,boot=on -net nic,vlan=0,model=virtio,macaddr=00:30:1F:42:1e:6c -net tap,vlan=0,ifname=virtio_0_6001,script=/root/autotest/client/tests/kvm/scripts/qemu-ifup-switch,downscript=no -m 8196 -smp 1 -soundhw ac97 -usbdevice tablet -rtc-td-hack -no-hpet -cpu qemu64,+sse2 -no-kvm-pit-reinjection -redir tcp:5000::22 -vnc :0 -serial unix:/tmp/serial-20100506-153156-I71N,server,nowait
2. run S4
echo disk > /sys/power/state
3. start guest by the same cmd and ping host
the guest cannot gets network after S4
the guest can gets network after S4
Close as duplicate although this bug is about rhel5. The real issue is that virtio in a guest doesn't support PM.
*** This bug has been marked as a duplicate of bug 582178 ***