Bug 681777
Summary: | floppy I/O error after live migration while floppy in use | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mike Cao <bcao> | |
Component: | qemu-kvm | Assignee: | jason wang <jasowang> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 6.1 | CC: | bcao, flang, juzhang, michen, mkenneth, quintela, syeghiay, tburke, virt-maint, xfu | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | qemu-kvm-0.12.1.2-2.157.el6 | Doc Type: | Bug Fix | |
Doc Text: |
Cause: the media_changed flag were not save and restored during migration, bug in the floppy migration code.
Consequence: Guest driver may always think the floppy drive were changed after migration, so after the migration, the floppy were unusable.
Fix: Fix floppy migration code.
Result: transfer file to floppy during migration would works well
|
Story Points: | --- | |
Clone Of: | ||||
: | 699370 (view as bug list) | Environment: | ||
Last Closed: | 2011-05-19 11:26:25 UTC | Type: | --- | |
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: | 699370 |
Description
Mike Cao
2011-03-03 08:33:14 UTC
Reproduced on qemu-kvm-0.12.1.2-2.135.el6 Verified on qemu-kvm-0.12.1.2-2.158.el6 with the steps on comment #0 Actual Results: After migration,the scripts still works Based on above ,this issue has been fixed ald. this issue have been fixed on windows2008r2. verify steps and version info: 1. /usr/libexec/qemu-kvm -m 6G -smp 1 -drive file=/mnt/2008r2-des.raw,media=disk,if=none,id=drive-virtio0-0-0,format=raw,werror=stop,rerror=stop,cache=none -device ide-drive,drive=drive-virtio0-0-0,id=virti0-0-0 -netdev tap,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:94:a3:8b -uuid 9e6f04cf-2ad7-45aa-9333-2d2ee26570c6 -boot c -monitor stdio -spice id=on,disable-ticketing,port=5911 -vga qxl -device virtio-balloon-pci,id=balloon1 -drive file=/mnt/virtio-win-1.1.16.vfd,if=none,id=f1,format=raw,cache=none -global isa-fdc.driveA=f1 2.rpm -qa|grep kvm qemu-kvm-0.12.1.2-2.158.el6.x86_64 3. after migration,loop script still can write date on floppy. 4. @echo off :for1 for /l %%i in (1 2 3) do ( echo "test">A:\test1 del A:\test1 ) goto for1 based on comment #12 &comment #13 ,move staus to VERIFIED. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: the media_changed flag were not save and restored during migration, bug in the floppy migration code. Consequence: Guest driver may always think the floppy drive were changed after migration, so after the migration, the floppy were unusable. Fix: Fix floppy migration code. Result: transfer file to floppy during migration would works well An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0534.html An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0534.html Hi ,Jason Since we support migration between RHEL6.0.0 host and RHEL6.2.0 host I think we need to backport this patch to rhel6.0.z . What's your opinion ? Hi Mike: This patch is functionally reverted in 6.1. I don't know the current status of the fixing for this in either RHEL6 or upstream. I think maybe you can ask Kevin or Markus for this. Thanks |