Message ID | 1471343175-14945-15-git-send-email-vsementsov@virtuozzo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index fade81e..37c0f63 100644 --- a/tests/qemu-iotests/iotests.py +++ b/tests/qemu-iotests/iotests.py @@ -162,6 +162,12 @@ class VM(qtest.QEMUQtestMachine): self._num_drives += 1 return self + def add_incoming_migration(self, desc): + '''Add an incoming migration to the VM''' + self._args.append('-incoming') + self._args.append(desc) + return self + def pause_drive(self, drive, event=None): '''Pause drive r/w operations''' if not event: