mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: Remove "fwdebug" and "common" feature flags
This simplifes the buld and checks with very little overhead and the fwdebug device is I/O port device on 0x402 that can be used by edk2 as a very simple character device. See: #4679 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -6,7 +6,6 @@ edition = "2021"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
fwdebug = ["devices/fwdebug"]
|
||||
gdb = ["kvm", "gdbstub", "gdbstub_arch"]
|
||||
guest_debug = ["kvm"]
|
||||
kvm = ["hypervisor/kvm", "vfio-ioctls/kvm", "vm-device/kvm", "pci/kvm"]
|
||||
|
||||
@@ -1560,9 +1560,7 @@ impl DeviceManager {
|
||||
.io_bus
|
||||
.insert(cmos, 0x70, 0x2)
|
||||
.map_err(DeviceManagerError::BusError)?;
|
||||
}
|
||||
#[cfg(feature = "fwdebug")]
|
||||
{
|
||||
|
||||
let fwdebug = Arc::new(Mutex::new(devices::legacy::FwDebugDevice::new()));
|
||||
|
||||
self.bus_devices
|
||||
|
||||
Reference in New Issue
Block a user