mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 11:25:20 +00:00
vmm: default GDB to false when deserializing
This fixes the valid VM config unit tests, which would otherwise fail to deserialize their expected JSON config due to the missing "gdb" field. Signed-off-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
parent
953c238544
commit
f346687e3d
@ -595,6 +595,7 @@ pub struct VmConfig {
|
||||
#[serde(default)]
|
||||
pub watchdog: bool,
|
||||
#[cfg(feature = "guest_debug")]
|
||||
#[serde(default)]
|
||||
pub gdb: bool,
|
||||
pub platform: Option<PlatformConfig>,
|
||||
pub tpm: Option<TpmConfig>,
|
||||
|
Loading…
Reference in New Issue
Block a user