fuzz: add ivshmem device config
Signed-off-by: Songqian Li <sionli@tencent.com>
This commit is contained in:
parent
f0febcae3d
commit
a09c8329fb
2 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue