Bug 1018028

Summary: Guest paused (io-error) when boot it w/ raw and rerror=stop
Product: Red Hat Enterprise Linux 7 Reporter: Qian Guo <qiguo>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, juzhang, michen, qiguo, sluo, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-11 04:47:36 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:

Description Qian Guo 2013-10-11 03:33:49 UTC
Description of problem:
Try to install(boot) a raw format and virtio-blk-pci backend guest with cache=none, guest paused with io-error.

Version-Release number of selected component (if applicable):
# uname -r
3.10.0-33.el7.x86_64
# rpm -q qemu-kvm
qemu-kvm-1.5.3-8.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Boot guest like this:
# /usr/libexec/qemu-kvm -M pc -cpu Penryn -enable-kvm -m 4096 -smp 4,sockets=1,cores=4,threads=1 -usb -device usb-tablet,id=input0 -name rhel7 -rtc base=localtime,clock=host,driftfix=slew  -device virtio-balloon-pci,id=balloon1 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor stdio -serial unix:/tmp/ttyS0,server,nowait  -spice disable-ticketing,port=5930,seamless-migration=on -vga qxl -global qxl-vga.vram_size=67108864 -netdev tap,id=netdev0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,mac=00:1b:21:7a:16:10,netdev=netdev0  -drive file=win8.raw,if=none,format=raw,aio=native,cache=none,rerror=stop,werror=stop,id=virtio-disk0 -device virtio-blk-pci,drive=virtio-disk0

2.
3.

Actual results:
(qemu) info status
VM status: paused (io-error)


Expected results:
can boot up with no error

Additional info:

Comment 1 Qian Guo 2013-10-11 03:37:56 UTC
Additional info:

If boot it w/ "x-data-plane=on,scsi=off,config-wce=off", won't hit this issue.

Comment 5 Qian Guo 2013-10-11 05:15:37 UTC
Since further investigation, found that if the host like this:

Sector size (logical/physical): 512 bytes / 4096 bytes

and boot guest w/ rerror and raw format, will hit this issue, it is same reason as bug #91190 , so change the bug summary and close it as dulp.