Bug 699964 - can not open read-only floppy
Summary: can not open read-only floppy
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: jason wang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: Rhel5KvmTier2
TreeView+ depends on / blocked
 
Reported: 2011-04-27 04:56 UTC by Suqin Huang
Modified: 2011-07-30 03:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-30 03:37:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Suqin Huang 2011-04-27 04:56:39 UTC
Description of problem:
kvm quit with error: could not open disk image /home/kvm_autotest_root/iso/windows/virtio-win.vfd while boot guest with readonly floppy.


Version-Release number of selected component (if applicable):
kvm-83-231.el5

How reproducible:
100%

Steps to Reproduce:
1.

mount readonly nfs, virtio-win.vfd is put in nfs, boot guest with -fda virtio-win.vfd

cmd:

/usr/libexec/qemu-kvm -sevirtio-win.vfd
rial unix:'/tmp/serial-20110427-114323-HHW0',server,nowait -monitor stdio -drive file=/usr/images/RHEL-Server-5.6-32-virtio.qcow2,index=0,if=virtio,media=disk,cache=none,boot=on,format=qcow2 -net nic,vlan=0,model=virtio,macaddr=9a:e9:5e:93:4d:db -net tap,vlan=0,ifname=t0-114323-HHW0,script=/usr/scripts/qemu-ifup-switch,downscript=no -m 4096 -smp 2,cores=1,threads=1,sockets=2 -cpu qemu64,+sse2 -vnc :0 -rtc-td-hack -M rhel5.6.0 -boot c -usbdevice tablet -no-kvm-pit-reinjection -fda /home/kvm_autotest_root/iso/windows/virtio-win.vfd

2.
3.
  
Actual results:
qemu quit with error: 
qemu: could not open disk image /home/kvm_autotest_root/iso/windows/virtio-win.vfd

Expected results:


Additional info:

1. nfs info:

10.66.90.128:/vol/S2/kvmauto/iso on /home/kvm_autotest_root/iso type nfs (ro,addr=10.66.90.128)

2. can boot while change nfs to rw

3. host

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 67
model name	: Dual-Core AMD Opteron(tm) Processor 1216
stepping	: 3
cpu MHz		: 1000.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips	: 2009.36
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc


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