]> git.proxmox.com Git - mirror_qemu.git/commit
hw/ide: Add the possibility to disable the CompactFlash device in the build
authorThomas Huth <thuth@redhat.com>
Tue, 20 Feb 2024 08:54:59 +0000 (09:54 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 22 Feb 2024 11:47:40 +0000 (12:47 +0100)
commitbd217d88dcff15981476b73612eb877a372e67f1
treec08facd665170eb774fb97f2968a66f825acc8d4
parent066804029f089e43fe77ddbf1ba45b0dc0ba574c
hw/ide: Add the possibility to disable the CompactFlash device in the build

For distros like downstream RHEL, it would be helpful to allow to disable
the CompactFlash device. For making this possible, we need a separate
Kconfig switch for this device, and the code should reside in a separate
file. Let's also introduce a new header ide-dev.h which can be used to
collect definitions related to IDE devices.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-ID: <20240220085505.30255-2-thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/ide/Kconfig
hw/ide/cf.c [new file with mode: 0644]
hw/ide/meson.build
hw/ide/qdev.c
include/hw/ide/ide-dev.h [new file with mode: 0644]