mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
devices: Implement DMA for fw_cfg device
We pass a reference to the guest memory when we create the device in DeviceManager. This allows us to access the guest memory for DMA. Signed-off-by: Alex Orozco <alexorozco@google.com>
This commit is contained in:
@@ -8,6 +8,7 @@ version = "0.1.0"
|
||||
acpi_tables = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
arch = { path = "../arch" }
|
||||
bitfield-struct = { version = "0.10.1", optional = true }
|
||||
bitflags = { workspace = true }
|
||||
byteorder = { workspace = true }
|
||||
event_monitor = { path = "../event_monitor" }
|
||||
@@ -43,6 +44,6 @@ arch = { path = "../arch" }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
fw_cfg = ["linux-loader", "zerocopy"]
|
||||
fw_cfg = ["bitfield-struct", "linux-loader", "zerocopy"]
|
||||
kvm = ["arch/kvm"]
|
||||
pvmemcontrol = []
|
||||
|
||||
Reference in New Issue
Block a user