qemu-e2k/include/hw/i386
Laszlo Ersek fd53c87cf6 i386/pc: pc_basic_device_init(): delegate FDC creation request
This patch introduces no observable change, but it allows the callers of
pc_basic_device_init(), ie. pc_init1() and pc_q35_init(), to request (or
not request) the creation of the FDC explicitly.

At the moment both callers pass constant create_fdctrl=true (hence no
observable change).

Assuming a board passes create_fdctrl=false, "floppy" will be NULL on
output, and (beyond the FDC not being created) that NULL will be passed on
to pc_cmos_init(). Luckily, pc_cmos_init() already handles that case.

Cc: Markus Armbruster <armbru@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: John Snow <jsnow@redhat.com>
Cc: "Gabriel L. Somlo" <gsomlo@gmail.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: qemu-block@nongnu.org
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
2015-05-31 20:24:06 +02:00
..
apic_internal.h kvm/apic: fix 2.2->2.1 migration 2014-12-15 12:21:02 +01:00
apic-msidef.h
apic.h target-i386: clear bsp bit when designating bsp 2015-04-02 15:57:27 +02:00
ich9.h pci: Remove unused function ich9_d2pbr_init() 2015-04-30 16:05:48 +03:00
intel_iommu.h intel_iommu: fix VTD_SID_TO_BUS 2014-11-02 12:03:04 +02:00
ioapic_internal.h ioapic: QOM'ify ioapic 2013-12-24 18:02:18 +01:00
ioapic.h pc: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/ioapic.h 2013-07-29 19:33:32 -05:00
pc.h i386/pc: pc_basic_device_init(): delegate FDC creation request 2015-05-31 20:24:06 +02:00
smbios.h smbios: Encode UUID according to SMBIOS specification 2014-11-02 13:44:52 +02:00
topology.h target-i386: Move topology.h to include/hw/i386 2015-03-09 16:30:02 -03:00