Bug 1067290
| Summary: | [virtio-win][balloon]value guest memeory stats does not update after S3 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Mike Cao <bcao> |
| Component: | virtio-win | Assignee: | Gal Hammer <ghammer> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | bcao, flang, hhuang, juzhang, knoel, michen, rbalakri, sluo, virt-maint, vrozenfe |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
Balloon memory statistics does not work after resuming guest from sleep state (S3 state).
Consequence:
balloon service cannot update memory statistics after resuming from the system sleep state
Fix:
Rebuild virtio queues on resuming.
Result:
Now memory statistics can work properly after resuming from system sleep state.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-05 05:33:47 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1131838 | ||
What is the balloon driver version? Is it still reproducible? (In reply to Gal Hammer from comment #3) > What is the balloon driver version? Is it still reproducible? Re-Test this issue on virtio-win-prewhql-89 3.10.0-121.el7.x86_64 qemu-kvm-1.5.3-62.el7.x86_64 Steps same as comment #0 Actual Results: After step3 : {"return": {"stats": {"stat-swap-out": 0, "stat-free-memory": 1606569984, "stat-minor-faults": 12, "stat-major-faults": 0, "stat-total-memory": 2147074048, "stat-swap-in": 0}, "last-update": 1407835556}} After 7 {"return": {"stats": {"stat-swap-out": 0, "stat-free-memory": 172953600, "stat-minor-faults": 300, "stat-major-faults": 0, "stat-total-memory": 2147074048, "stat-swap-in": 0}, "last-update": 1407835629}} in the guest the free mem is 164G Based on above ,this issue does not exists in virtio-win-prewhql-89 (In reply to Mike Cao from comment #4) > (In reply to Gal Hammer from comment #3) > > What is the balloon driver version? Is it still reproducible? > > Re-Test this issue on virtio-win-prewhql-89 > 3.10.0-121.el7.x86_64 > qemu-kvm-1.5.3-62.el7.x86_64 > > Steps same as comment #0 > > Actual Results: > After step3 : > {"return": {"stats": {"stat-swap-out": 0, "stat-free-memory": 1606569984, > "stat-minor-faults": 12, "stat-major-faults": 0, "stat-total-memory": > 2147074048, "stat-swap-in": 0}, "last-update": 1407835556}} > > After 7 > {"return": {"stats": {"stat-swap-out": 0, "stat-free-memory": 172953600, > "stat-minor-faults": 300, "stat-major-faults": 0, "stat-total-memory": > 2147074048, "stat-swap-in": 0}, "last-update": 1407835629}} > > in the guest the free mem is 164G This line should be "in the guest the free mem is 164M" > > Based on above ,this issue does not exists in virtio-win-prewhql-89 Moving to ON_QA based on comment #4. Move status to Verified based on comment #4 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.{ "execute": "qom-get", "arguments": { "path": "/machine/peripheral/balloon0", "property": "guest-stats" } } 4.do s3 in the guest 5.resume guest 6.(qemu)balloon 512 7,repeat step3 Actual Results: After step 3 {"return": {"stats": {"stat-swap-out": 0, "stat-free-memory": 1678331904, "stat-minor-faults": 221, "stat-major-faults": 0, "stat-total-memory": 2147074048, "stat-swap-in": 0}, "last-update": 1392873981}} After step 7 The return value is exactly same w/ step3 Expected Results: After step7 ,the return values should changed and same as the guest shows Additional info : after s3 ,qom-get still can return values after #blnsrv -u/-s/-p