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.

Bug 1371581

Summary: Preserve the guest-stats-polling-interval property across migrations
Product: Red Hat Enterprise Linux 7 Reporter: Ladi Prosek <lprosek>
Component: libvirtAssignee: Jiri Denemark <jdenemar>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: pkrempa, rbalakri
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-06 12:12:06 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:

Description Ladi Prosek 2016-08-30 14:13:04 UTC
Description of problem:
This is a QEMU-specific problem. The value of the guest-stats-polling-interval property should survive migration but it can't be done on the QEMU side due to technical limitations.

libvirt has code to set the property on QEMU startup (qemuProcessSetupBalloon) but it doesn't seem to be sending it over to the destination as part of VM migration. Please correct me if I'm wrong.

Comment 2 Peter Krempa 2016-09-05 16:49:30 UTC
The statistics period is always formatted in the XML (if set):

http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/conf/domain_conf.c;h=c8c4f61cda69dbae2338324a6d5ae95a04050784;hb=HEAD#l21625

and qemuProcessLaunch() which in turn unconditionally calls qemuProcessSetupBalloon() is called on migrations as well.

I've also tried it and libvirt set the 'guest-stats-polling-interval' property and qemu reported success in setting it.

Looking at the history it seems that this was present since we initially added the support for this feature.

Comment 3 Ladi Prosek 2016-09-06 06:28:12 UTC
Excellent! I stand corrected then, feel free to close the bug.