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 892465 - "expected downtime" in the output of "info migrate" is always 0
Summary: "expected downtime" in the output of "info migrate" is always 0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Juan Quintela
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-07 08:40 UTC by Qunfang Zhang
Modified: 2013-12-18 15:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-18 15:03:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Qunfang Zhang 2013-01-07 08:40:56 UTC
Description of problem:
We have "expected downtime" item in the output of "info migrate"(human monitor) or "query-migrate" (qmp) commands. That is a very good feature for user to know that how long the downtime has to be to finish migration. But currently the "expected downtime" is always 0, that does not provide the expected downtime information.

Version-Release number of selected component (if applicable):
qemu-kvm-1.3.0-3.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Boot a guest on src host and also dst host with listening mode.

2. Implement migration.

3. (qemu) info migrate
or {"execute":"query-migrate"}

  
Actual results:
(qemu) info migrate
capabilities: xbzrle: off 
Migration status: active
total time: 4081 milliseconds
expected downtime: 0 milliseconds
transferred ram: 127790 kbytes
remaining ram: 444488 kbytes
total ram: 2105728 kbytes
duplicate: 383457 pages
normal: 31854 pages
normal bytes: 127416 kbytes

Expected results:
"expected downtime" should provide the correct time.

Additional info:

Comment 2 Qunfang Zhang 2013-01-07 10:14:32 UTC
Hi, Juan
The "expected downtime" will be 0 at the beginning, and when the 'remaining ram' is small, the "expected downtime begins to change.  Is this expected?  Could you help confirm and close it if not a bug.

Comment 3 Juan Quintela 2013-02-20 09:18:26 UTC
it is 0 at the start.  But there were a bug upstream (and in RHEL7).  Patches are posted upstream to fix this.  We are thinking about getting the "initial" downtime value as the one set with migration_max_downtime (much better value than zero).


Note You need to log in before you can comment on or make changes to this bug.