mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-22 16:54:25 +01:00
qemu: add migration incoming defer support
qemu commandline supports -incoming defer and qmp supports migrate-incoming uri. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
@@ -725,6 +725,16 @@ func TestAppendIncomingExec(t *testing.T) {
|
||||
testAppend(source, incomingStringExec, t)
|
||||
}
|
||||
|
||||
var incomingStringDefer = "-S -incoming defer"
|
||||
|
||||
func TestAppendIncomingDefer(t *testing.T) {
|
||||
source := Incoming{
|
||||
MigrationType: MigrationDefer,
|
||||
}
|
||||
|
||||
testAppend(source, incomingStringDefer, t)
|
||||
}
|
||||
|
||||
func TestBadName(t *testing.T) {
|
||||
c := &Config{}
|
||||
c.appendName()
|
||||
|
||||
Reference in New Issue
Block a user