mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 16:31:16 +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)]
|
#[serde(default)]
|
||||||
pub watchdog: bool,
|
pub watchdog: bool,
|
||||||
#[cfg(feature = "guest_debug")]
|
#[cfg(feature = "guest_debug")]
|
||||||
|
#[serde(default)]
|
||||||
pub gdb: bool,
|
pub gdb: bool,
|
||||||
pub platform: Option<PlatformConfig>,
|
pub platform: Option<PlatformConfig>,
|
||||||
pub tpm: Option<TpmConfig>,
|
pub tpm: Option<TpmConfig>,
|
||||||
|
Loading…
Reference in New Issue
Block a user