[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v2] Add option to switch off FDC
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [RFC PATCH v2] Add option to switch off FDC |
Date: |
Fri, 31 Jan 2014 12:39:01 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 01/31/2014 12:03 PM, Gabriel L. Somlo wrote:
> Allow guests to omit the configuration of a floppy disk controller.
>
> Signed-off-by: Gabriel Somlo <address@hidden>
> ---
>
> New in this version:
>
> - "int have_fdc = 1;" instead of "int no_fdc = 0;"
>
> - use 8bit field for FDC0's _STA method
>
>
> Are we OK with the "mechanism" part, i.e. introducing "have_fdc", and
> programatically configuring the FDC in pc.c and patching the DSDT
> based on its value ?
>
>
> +DEF("no-fdc", 0, QEMU_OPTION_no_fdc,
> + "-no-fdc disable FDC\n", QEMU_ARCH_I386)
> +STEXI
> address@hidden -no-fdc
> address@hidden -no-fdc
> +Disable FDC support.
> +ETEXI
This is not discoverable via the current state of QMP. It also has the
annoyance of being a one-way switch with no way to revert to a default
state. Can you make this instead use qemuOpts (maybe looking like '-fdc
yes' vs. '-fdc no')?
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] osx bootloader, (continued)
- Re: [Qemu-devel] osx bootloader, BALATON Zoltan, 2014/01/29
- Re: [Qemu-devel] osx bootloader, Alexander Graf, 2014/01/29
- Re: [Qemu-devel] RFC: ACPI, HPET._CRS, MacOSX vs. WinXP, Michael S. Tsirkin, 2014/01/21
- Re: [Qemu-devel] RFC: ACPI, HPET._CRS, MacOSX vs. WinXP, Michael S. Tsirkin, 2014/01/20
- Re: [Qemu-devel] RFC: ACPI, HPET._CRS, MacOSX vs. WinXP, Igor Mammedov, 2014/01/20
Re: [Qemu-devel] [PATCH] Add option to disable FDC from ISA bus and ACPI on i386, Markus Armbruster, 2014/01/09