Bug 690434

Summary: Install win2003r2 64bit guest with virtio-blk-pci, then boot guest with ide-drive failed
Product: Red Hat Enterprise Linux 6 Reporter: Shaolong Hu <shu>
Component: qemu-kvmAssignee: Vadim Rozenfeld <vrozenfe>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: bcao, chayang, juzhang, michen, mkenneth, qzhang, tburke, 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: 2011-03-24 13:05:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
win2003r2-64-disk-read-error none

Description Shaolong Hu 2011-03-24 11:18:22 UTC
Description of problem:
------------------------
Install a win2003r2 64bit guest with -device virtio-blk-pci, load virtio driver during system installation, after installation, guest works fine, then shut down the guest, boot it with -device ide-drive, prompt "A disk read error occurred". A screen snapshot is in attachment.


Version-Release number of selected component (if applicable):
--------------------------------------------------------------
host:
2.6.32-122.el6.x86_64
qemu-kvm-0.12.1.2-2.151.el6.x86_64
virtio-win-1.1.16-2.el6.noarch

guest:
en_win_srv_2003_r2_enterprise_x64_with_sp2



How reproducible:
------------------
100%


Steps to Reproduce:
--------------------
1. Install guest with:
/usr/libexec/qemu-kvm -M rhel6.1.0  -enable-kvm  -smp cores=2,threads=2,sockets=2 -m 4G -name win2003 -uuid `uuidgen` -drive file=./win2003r2-64-virtio.qcow2,if=none,format=qcow2,rerror=stop,werror=stop,id=virtio-disk0 -device virtio-blk-pci,drive=virtio-disk0 -netdev tap,script=/etc/qemu-ifup,id=net0 -device virtio-net-pci,netdev=net0 -vnc :10 -monitor stdio -usb -device usb-tablet,id=input0 -rtc base=utc -boot order=dc -fda /usr/share/virtio-win/virtio-win.vfd -cdrom en_win_srv_2003_r2_enterprise_x64_with_sp2_cd1_X13-06188.iso

2. After guest installed, shut down the guest.
3. Boot the guest with -device ide-drive.

  
Actual results:
----------------
1. After step 1, guest works fine.
3. After step 3, prompt "A disk read error occurred" as in attachment.


Expected results:
-----------------
After step 3, guest should boot successfully.

Comment 2 Shaolong Hu 2011-03-24 11:54:03 UTC
Created attachment 487290 [details]
win2003r2-64-disk-read-error

Comment 3 Dor Laor 2011-03-24 13:05:03 UTC
What's the testplan chapter that you're referring?
It won't just work without registry change (unlike Linux Guest).