Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Cause:
Balloon memory statistics does not work after resuming guest from hibernate (S4 state).
Consequence:
balloon service cannot update memory statistics after resuming from hibernate
Fix:
Rebuild virtio queues on resuming.
Result:
Now memory statistics can work properly after resuming Windows guest from hibernate.
(In reply to Gal Hammer from comment #3)
> I was unable to reproduce with virtio-win-prewhql-0.1-82. Can you please
> confirm? Thanks.
I still can reproduce this issue on virtio-win-prewhql-0.1-82 Steps same as comment #0
I was able to reproduce with a Windows 7 guest. A patch was posted.
Please note that it is still possible to see the "guest hasn't updated any stats yet" error if the query is send while Windows is still resuming and the driver is not loaded yet.
Reproduced this issue on virtio-win-prewhql-82
Verified this issue on virtio-win-prewhql-87
steps same as comment #0
Actual Results:
on virtio-win-prewhql-82,actual results:
{"error": {"class": "GenericError", "desc": "guest hasn't updated any stats yet"}}
on virtio-win-prewhql-87,actual results:
{"return": {"stats": {"stat-swap-out": 0, "stat-free-memory": 1762824192, "stat-minor-faults": 12, "stat-major-faults": 131, "stat-total-memory": 2147074048, "stat-swap-in": 978}, "last-update": 1406281726}}
Based on above ,this issue has been fixed already.
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/RHBA-2015-0289.html
Description of problem: Version-Release number of selected component (if applicable): win7-32 guest qemu-kvm-rhev-1.5.3-48.el7.x86_64 seabios-1.7.2.2-10.el7.x86_64 3.10.0-86.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.Start VM with CLI: /usr/libexec/qemu-kvm -M pc -cpu SandyBridge -enable-kvm -m 2G -smp 4,cores=2,threads=1,sockets=2 -name bcao_win-7-32-netkvm -uuid `uuidgen` -rtc base=localtime,clock=host,driftfix=slew -drive file=win7-32.qcow2,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=qcow2,id=drive-disk0 -device ide-drive,physical_block_size=4096,bus=ide.0,unit=1,logical_block_size=512,drive=drive-disk0,id=disk0 -drive file=en_windows_7_ultimate_with_sp1_x86_dvd_u_677460.iso,if=none,media=cdrom,id=aa -device ide-drive,id=aa1,drive=aa,bootindex=1 -drive media=cdrom,if=none,id=bb -device ide-drive,id=bb1,drive=bb -netdev tap,vhost=on,id=netdev0 -device e1000,netdev=netdev0,id=nic1,mac=1a:46:11:4a:bc:7a -vnc :2 -monitor stdio -usb -device usb-tablet,id=tablet0 -global PIIX4_PM.disable_s3=0 -global PIIX_PM.disable_s4=0 -monitor unix:/tmp/tt,server,nowait -boot menu=on -device virtio-balloon-pci,id=balloon0 -qmp tcp:0:5888,server,nowait -global PIIX4_PM.disable_s4=0 2.install VirtIO balloon driver and blnsrv.exe 3.do s4 in the guest 4.resume guest 5. {"QMP": {"version": {"qemu": {"micro": 3, "minor": 5, "major": 1}, "package": " (qemu-kvm-1.5.3-48.el7)"}, "capabilities": []}} {"execute":"qmp_capabilities"} {"return": {}} { "execute": "qom-set", "arguments": { "path": "/machine/peripheral/balloon0","property": "guest-stats-polling-interval", "value": 2 } } {"return": {}} { "execute": "qom-get", "arguments": { "path": "/machine/peripheral/balloon0", "property": "guest-stats" } } Actual results: {"error": {"class": "GenericError", "desc": "guest hasn't updated any stats yet"} Expected results: it should return : {"return": {"stats": {"stat-swap-out": 0, "stat-free-memory": 1731293184, "stat-minor-faults": 97, "stat-major-faults": 0,...} Additional info: reboot the guest will work fine