Bug 894956
Summary: | floppy can not be recognized by Windows guest (q35) | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Suqin Huang <shuang> | ||||
Component: | qemu-kvm-rhev | Assignee: | Marcel Apfelbaum <marcel> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 7.0 | CC: | ailan, armbru, crosa, huding, juzhang, knoel, kwolf, lveyde, marcel, michen, pbonzini, qzhang, rbalakri, virt-maint, vrozenfe, xwei, yama, yvugenfi | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | qemu-kvm-rhev-2.3.0-7.el7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-04 16:13:03 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: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1227278 | ||||||
Attachments: |
|
Description
Suqin Huang
2013-01-14 06:19:54 UTC
Test win2012-64 guest hit the same issue. Tit this issue on win8-64bit guest under q35. But met anther bug 920924 about '-drive...-global...' method fail to detect them correctly when add two floppies, that's the global problem, so i will open a new bug to tracking it. Best Regards. RHEL7 guest also has this problem. Attach a floopy "-drive file=floppy-1440K.vfd,if=none,id=drive-fdc0-0-0,format=raw,cache=none -global isa-fdc.driveA=drive-fdc0-0-0". In guest, there is no the device file /dev/fd0. The cmdline is as following: /usr/libexec/qemu-kvm -M q35 -cpu SandyBridge -enable-kvm -m 2048 -smp 4,sockets=2,cores=2,threads=1 -name rhel7 -uuid 6afa5f93-2d4f-420f-81c6-e5fdddbd1c83 -drive if=none,id=drive-disk,cache=none,file=rhel7.raw,format=raw,aio=native -device virtio-blk-pci,ioeventfd=on,drive=drive-disk,id=disk,scsi=off,config-wce=off,x-data-plane=on -netdev tap,id=hostnet0,vhost=on,queues=8 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:42:0a:00,vectors=17,mq=on -monitor stdio -spice port=5900,disable-ticketing -vga std -drive file=floppy-1440K.vfd,if=none,id=drive-fdc0-0-0,format=raw,cache=none -global isa-fdc.driveA=drive-fdc0-0-0 -qmp tcp:0:12345,server,nowait The kernel of host and guest is kernel-3.10.0-11.el7.x86_64. qemu-kvm is qemu-kvm-1.5.2-4.el7.x86_64. As most unattended Windows guest installation people would use floppy to store the answer file, this blocks it, raise to urgent/urgent and add testblocker Regards, Xiaoqing Per mail discussed, Q35 is a Tech Preview for RHEL7.0, removing the 'TestBlocker' keyword. Regards, Xiaoqing. RHEL7 guest should manually modprobe floppy. Then could recognize floppy inside guest correctly. So I think RHEL7.0 guest doesn't have this issue. Removed the Blocker+ since Q35 is a tech-preview. Created attachment 826586 [details]
devmgmt shows error
Which versions of windows require floppy? Can the unattended install use CDROM instead? According to: http://technet.microsoft.com/en-us/library/dd349348(v=ws.10).aspx "Windows 7 Setup (Setup.exe) will begin automatically. By default, Windows Setup will search the root directory of all removable media for an answer file called Autounattend.xml." Since this is related to the new XML based answer file which is available starting with Windows 2008, I assume this is truth for every Windows version since then. *** Bug 1044878 has been marked as a duplicate of this bug. *** (In reply to Cleber Rodrigues from comment #13) > According to: > > http://technet.microsoft.com/en-us/library/dd349348(v=ws.10).aspx > > "Windows 7 Setup (Setup.exe) will begin automatically. By default, Windows > Setup will search the root directory of all removable media for an answer > file called Autounattend.xml." > > Since this is related to the new XML based answer file which is available > starting with Windows 2008, I assume this is truth for every Windows version > since then. Hi Cleber, How about when using virtio-scsi-pci based devices ? a scsi-cd/scsi-hd itself needs vioscsi.* to drive, or use full virtualized cd-rom devices instead(ide/ahci) ? Yes, using a fully virtualized CDROM is exactly what I'd do. Here you can find a quick hack to virt-test to use a CDROM instead of a floppy. Tested with Windows 7 SP1 x86_64: https://github.com/clebergnu/virt-test/commit/f83e0b8f4e078cb1f053a5e3342e68a3517e2a9c This is the resulting qemu command line with this patch: MALLOC_PERTURB_=1 /bin/qemu-kvm \ -S \ -name 'virt-tests-vm1' \ -sandbox on \ -M pc \ -nodefaults \ -vga std \ -chardev socket,id=hmp_id_hmp1,path=/tmp/monitor-hmp1-20131223-172531-zvFe3LkL,server,nowait \ -mon chardev=hmp_id_hmp1,mode=readline \ -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20131223-172531-zvFe3LkL,server,nowait \ -device isa-serial,chardev=serial_id_serial0 \ -chardev socket,id=seabioslog_id_20131223-172531-zvFe3LkL,path=/tmp/seabios-20131223-172531-zvFe3LkL,server,nowait \ -device isa-debugcon,chardev=seabioslog_id_20131223-172531-zvFe3LkL,iobase=0x402 \ -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 \ -drive id=drive_image1,if=none,aio=native,file=/home/cleber/src/virt-test/shared/data/images/win7-64-sp1.qcow2 \ -device ide-hd,id=image1,drive=drive_image1,bus=ide.0,unit=0 \ -device virtio-net-pci,mac=9a:7c:7d:7e:7f:80,id=idPj0RFe,netdev=idkfW7Ls,bus=pci.0,addr=04 \ -netdev user,id=idkfW7Ls,hostfwd=tcp::5000-:10022,hostfwd=tcp::5001-:12323,hostfwd=tcp::5002-:10023 \ -m 1024 \ -smp 2,cores=1,threads=1,sockets=2 \ -cpu 'SandyBridge' \ -drive aio=native,media=cdrom,file=/home/cleber/src/virt-test/shared/data/isos/windows/en_windows_7_ultimate_with_sp1_x64_dvd_u_677332.iso,bus=0,unit=1 \ -drive aio=native,media=cdrom,file=/home/cleber/src/virt-test/shared/data/images/win7-64-sp1/answer.iso,bus=1,unit=0 \ -drive aio=native,media=cdrom,file=/home/cleber/src/virt-test/shared/data/isos/windows/winutils.iso,bus=1,unit=1 \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -vnc :0 \ -rtc base=localtime,clock=host,driftfix=none \ -boot order=cdn,once=d,menu=off \ -enable-kvm Merged upstream commit: commit 557772f26b361ade84acecb366fe6fdd2d55a6d9 hw/q35: fix floppy controller definition in ich9 Fix included in qemu-kvm-rhev-2.3.0-7.el7 According to comment32, set this issue as verified. 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. https://rhn.redhat.com/errata/RHBA-2015-2546.html |