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 596903 - backport: ide save/restore current transfer fields
Summary: backport: ide save/restore current transfer fields
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Marcelo Tosatti
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-27 18:22 UTC by Eduardo Habkost
Modified: 2013-01-09 22:38 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 590922
Environment:
Last Closed: 2010-07-26 19:18:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eduardo Habkost 2010-05-27 18:22:51 UTC
Patch originally sent for Bug #590922, but creating a specific BZ for it, as the placeholder "backport fixes" BZ was closed.

Patch info:
----------------------------
ide save/restore current transfer fields

Message-id: <20100511002137.673299704>
Patchwork-id: 9149
O-Subject: [RHEL6 qemu-kvm patch 01/16] ide save/restore current transfer fields
Bugzilla:
RH-Acked-by: Glauber Costa <glommer>
RH-Acked-by: Amit Shah <amit.shah>
RH-Acked-by: Gerd Hoffmann <kraxel>

commit 42ee76fe82093ba914f0dc83d2decbcf68866144
From: Marcelo Tosatti <mtosatti>

ide save/restore current transfer fields

If migration takes place between write of the bmdma address register and
write of the command register (to initiate DMA), the destination will
not properly start the DMA op, hanging the guest:

ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: cmd c8/00:16:41:00:00/00:00:00:00:00/e0 tag 0 dma 11264 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }

Fix by sending current transfer information in the migration data.

We need to update ide version to 4 for this to work.  As we don't
have subsectios, we need to chain the update increase until
vmstate_ide_pci (quintela)

Signed-off-by: Marcelo Tosatti <mtosatti>
Signed-off-by: Juan Quintela <quintela>
Signed-off-by: Anthony Liguori <aliguori.com>

Comment 3 Juan Quintela 2010-07-26 19:18:38 UTC
This bug was fixed with the Subsections code already merged.


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