mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
fuzz: add ivshmem device config
Signed-off-by: Songqian Li <sionli@tencent.com>
This commit is contained in:
@@ -11,6 +11,7 @@ cargo-fuzz = true
|
||||
[features]
|
||||
default = ["mshv_emulator"]
|
||||
igvm = []
|
||||
ivshmem = []
|
||||
mshv_emulator = ["hypervisor/mshv_emulator"]
|
||||
pvmemcontrol = []
|
||||
|
||||
|
||||
@@ -197,6 +197,8 @@ impl RequestHandler for StubApiRequestHandler {
|
||||
preserved_fds: None,
|
||||
landlock_enable: false,
|
||||
landlock_rules: None,
|
||||
#[cfg(feature = "ivshmem")]
|
||||
ivshmem: None,
|
||||
}),
|
||||
state: VmState::Running,
|
||||
memory_actual_size: 0,
|
||||
|
||||
Reference in New Issue
Block a user