Bug 1664997
Summary: | Restrict floppy device to RHEL-7 machine types | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Markus Armbruster <armbru> | |
Component: | qemu-kvm | Assignee: | Markus Armbruster <armbru> | |
Status: | CLOSED ERRATA | QA Contact: | CongLi <coli> | |
Severity: | low | Docs Contact: | ||
Priority: | medium | |||
Version: | 8.0 | CC: | ailan, armbru, chayang, coli, egallen, fdeutsch, jen, jinzhao, juzhang, kchamart, knoel, michal.skrivanek, mtessun, rbalakri, ribarry, sgordon, thuth, virt-maint | |
Target Milestone: | rc | |||
Target Release: | 8.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | qemu-kvm-3.1.0-16.module+el8+2830+fab308bf | Doc Type: | Removed functionality | |
Doc Text: |
Not sure we need this one, but here goes anyway...
Floppy devices are not available with pc-q35-rhel8.* machine types. For backward compatibility, they're still available with pc-*-rhel7.* machine types.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1673106 (view as bug list) | Environment: | ||
Last Closed: | 2019-05-29 16:04:59 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: | 1673106 |
Description
Markus Armbruster
2019-01-10 08:51:07 UTC
I believe floppies are currently used for the following tasks: - Windows driver disks - Windows sysprep information - cloud-init data - Kickstart information for RHEL I believe all of these usecases could be replaced by an ISO instead. @Michal: Do you agree? If we do this, we will need to change RHV 4.4 once we use RHEL8 based machine types. This would also remove the ISA driver from qemu completely. @Erwan: Does RHOSP use floppies at all? We are not using floppies for the default workloads but we have some remaining floppy devices references in OpenStack code: https://github.com/openstack/nova/blob/master/nova/objects/fields.py (BlockDeviceType) https://github.com/openstack/glance/blob/master/etc/metadefs/compute-libvirt-image.json (hw_rescue_device) https://github.com/openstack/nova/blob/master/nova/tests/unit/virt/libvirt/test_blockinfo.py (testing) We are starting an OpenStack upstream discussion, a bug has been created to track the status: https://bugzilla.redhat.com/show_bug.cgi?id=1673106 We will look in detail if we have any Microsoft Windows dependencies. Fabian I am assuming we are not using this in CNV today? Yes and no: Yes, we are not using floppies - all high-level CNV features are not depending on floppy support. No, we are providing a floppy API field - The KubeVirt API does currently support to attach an image as a floppy. But I've opened https://github.com/kubevirt/kubevirt/issues/2016 to get rid of the API field asap. RHV uses it for - Windows driver disks - Windows sysprep information Work is tracked by bug 1306586. Should be ready before we get to a rhel 8 machine type this is out of scope I suppose as RHV doesn't not have any integrated feature for that - Kickstart information for RHEL Fix included in qemu-kvm-3.1.0-16.module+el8+2830+fab308bf Reproduced this bug on qemu-kvm-3.1.0-15.module+el8+2792+e33e01a0: # /usr/libexec/qemu-kvm -nodefaults -display none -S -M pc-q35-rhel8.0.0 -monitor stdio -device isa-fdc (qemu) info qtree bus: isa.0 type ISA dev: isa-fdc, id "" # /usr/libexec/qemu-kvm -nodefaults -display none -S -M pc-q35-rhel8.0.0 -monitor stdio -drive if=floppy bus: isa.0 type ISA dev: isa-fdc, id "" Verified this bug on qemu-kvm-3.1.0-18.module+el8+2834+fa8bb6e2.x86_64: # /usr/libexec/qemu-kvm -nodefaults -display none -S -M pc-q35-rhel8.0.0 -monitor stdio -device isa-fdc QEMU 3.1.0 monitor - type 'help' for more information (qemu) qemu-kvm: -device isa-fdc: Device isa-fdc is not supported with machine type pc-q35-rhel8.0.0 # /usr/libexec/qemu-kvm -nodefaults -display none -S -M pc-q35-rhel8.0.0 -monitor stdio -drive if=floppy QEMU 3.1.0 monitor - type 'help' for more information (qemu) qemu-kvm: Initialization of device isa-fdc failed: Device isa-fdc is not supported with machine type pc-q35-rhel8.0.0 But there is still floppy info in manual with pc-q35-rhel8.0.0. # /usr/libexec/qemu-kvm -M pc-q35-rhel8.0.0 -device ? Storage devices: name "floppy", bus floppy-bus, desc "virtual floppy drive" name "isa-fdc", bus ISA # /usr/libexec/qemu-kvm -M pc-q35-rhel8.0.0 -device isa-fdc,? isa-fdc options: bootindexA=<int32> bootindexB=<int32> dma=<uint32> fdtypeB=<FdcDriveType> - FDC drive type, 144/288/120/none/auto fdtypeA=<FdcDriveType> - FDC drive type, 144/288/120/none/auto check_media_rate=<bool> - on/off driveB=<str> - Node name or ID of a block device to use as a backend iobase=<uint32> driveA=<str> - Node name or ID of a block device to use as a backend irq=<uint32> fallback=<FdcDriveType> - FDC drive type, 144/288/120/none/auto Hi Markus, Could you please help confirm if floppy info should be removed from manual too ? Thanks. No, floppy information should remain. Help printed by "-device help", "-device D,help", and its legacy forms with "?" instead of "help" completely ignores the machine type by design. Making help more context-sensitive feels impractical given how things work. The two floppy devices are still available with RHEL-7 machine types, and help duly shows them. Aside: "?" is a shell meta-character. It undergoes filename expansion unless quoted. This can lead to massive confusion. Best use "help". (In reply to Markus Armbruster from comment #14) > No, floppy information should remain. > > Help printed by "-device help", "-device D,help", and its legacy forms with > "?" instead of "help" completely ignores the machine type by design. Making > help more context-sensitive feels impractical given how things work. > > The two floppy devices are still available with RHEL-7 machine types, and > help duly shows them. > > Aside: "?" is a shell meta-character. It undergoes filename expansion > unless quoted. This can lead to massive confusion. Best use "help". Thanks Markus for explaining the details. Based on comment 13 and comment 14, verified this bug. Thanks. 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://access.redhat.com/errata/RHBA-2019:1293 |