vmm: api: Make VmSendMigrationData.local optional

Fixes: #3756

Signed-off-by: Feng Ye <yefeng@smartx.com>
This commit is contained in:
Feng Ye 2022-02-23 18:50:25 +08:00 committed by Rob Bradford
parent ceb43fae6d
commit c504f302e9

View File

@ -196,6 +196,7 @@ pub struct VmSendMigrationData {
/// URL to migrate the VM to
pub destination_url: String,
/// Send memory across socket without copying
#[serde(default)]
pub local: bool,
}