Bug 752743
Summary: | Windows guest stopped with EIO when trying to initialize readonly disk | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mike Cao <bcao> | |
Component: | virtio-win | Assignee: | Vadim Rozenfeld <vrozenfe> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.2 | CC: | acathrow, bcao, bsarathy, dawu, flang, juzhang, mdeng, michen, sluo, tburke | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | buiild 21 | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Viostor driver doesn't reject write requests to read-only volume.
Consequence: Attempt to format a read-only volume leads to qemu error.
Fix: complete write requests with error if the target volume has read-only flag.
Result: Attempts to format/write a read-only volume are rejected by viostor driver now.
|
Story Points: | --- | |
Clone Of: | ||||
: | 825987 (view as bug list) | Environment: | ||
Last Closed: | 2012-06-20 11:58:01 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: | 825987 |
Description
Mike Cao
2011-11-10 10:13:22 UTC
Hi Mike, What is the guest OS/service pack in your case? Best, Vadim. (In reply to comment #1) > Hi Mike, > > What is the guest OS/service pack in your case? > > Best, > Vadim. win7 32 and win7 64 ,I did not try other guest . *note* remove werror=stop,rerror=stop will not hit this issue . after adding the 2 params ,guest will can never continue any more . Best Regards, Mike Hi Mike, Could you please check the latest driver from http://download.devel.redhat.com/brewroot/packages/virtio-win-prewhql/0.1/21/win/virtio-win-prewhql-0.1.zip best regards, Vadim. (In reply to comment #3) > Hi Mike, > Could you please check the latest driver from > http://download.devel.redhat.com/brewroot/packages/virtio-win-prewhql/0.1/21/win/virtio-win-prewhql-0.1.zip > > best regards, > Vadim. Hi Vadim, Verified this issue with the latest build on win2k3-64, win7-32/64, function of "initialize disk" is disabled and guest won't stop,so this issue fixed now. Best Regards, Dawn Hi,Vadim Could you add this bug to errata ? Best Regards, Mike Hi Mike, It's already there: https://errata.devel.redhat.com/errata/showrequest.cgi?id=12358 Kind regards, Vadim. (In reply to comment #6) > Hi Mike, > It's already there: > https://errata.devel.redhat.com/errata/showrequest.cgi?id=12358 > > Kind regards, > Vadim. Oops, Sorry . I did not receive errata notice about this bug . (In reply to comment #4) > (In reply to comment #3) > > Hi Mike, > > Could you please check the latest driver from > > http://download.devel.redhat.com/brewroot/packages/virtio-win-prewhql/0.1/21/win/virtio-win-prewhql-0.1.zip > > > > best regards, > > Vadim. > > Hi Vadim, > > Verified this issue with the latest build on win2k3-64, win7-32/64, function of > "initialize disk" is disabled and guest won't stop,so this issue fixed now. > > Best Regards, > Dawn Re-veirifed with win7_64 bit guest steps: 1.qemu-img create -f raw /home/tt.img 2G 2.start VM with readonly data image : -drive file=/home/tt.img,if=none,*readonly=on*,format=raw,werror=stop,rerror=stop,cache=none,id=drive-test,media=disk -device virtio-blk-pci,drive=drive-test,id=test 3.in the guest ,right click computer --> management-->Storage-->Disk Management 4.after step 3, it prompts "initialize disk" ,all click "OK" Actual Results : on virtio-win-1.3.2 ,after clicking OK in Initialize dialog ,guest stop and will never continue. on virtio-win-prewhql-21 ,after clicking OK in Initialize dialog ,it prompts "The request could not be performed because of an I/O Device error Based on above ,this issue has been fixed ald 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: Viostor driver doesn't reject write requests to read-only volume. Consequence: Attempt to format a read-only volume leads to qemu error. Fix: complete write requests with error if the target volume has read-only flag. Result: Attempts to format/write a read-only volume are rejected by viostor driver now. 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. http://rhn.redhat.com/errata/RHBA-2012-0751.html |