> From: Paolo Bonzini [mailto:pbonz...@redhat.com] > On 22/01/2015 09:53, Pavel Dovgalyuk wrote: > > This patch introduces command line options for enabling recording or > > replaying > > virtual machine behavior. "-record" option starts recording of the execution > > and saves it into the log, specified with "fname" parameter. "-replay" > > option > > is intended for replaying previously saved log. > > > > Signed-off-by: Pavel Dovgalyuk <pavel.dovga...@ispras.ru> > > break; > > case QEMU_OPTION_snapshot: > > snapshot = 1; > > @@ -3105,6 +3114,7 @@ int main(int argc, char **argv, char **envp) > > #endif > > case QEMU_OPTION_bt: > > add_device_config(DEV_BT, optarg); > > + not_compatible_replay_param++; > > Could it be enough to add a migration blocker?
Record/replay core does not use migration subsystem. That is why it should check the hardware by itself. > > > break; > > case QEMU_OPTION_audio_help: > > AUD_help (); > > @@ -3244,6 +3254,7 @@ int main(int argc, char **argv, char **envp) > > if (!opts) { > > exit(1); > > } > > + not_compatible_replay_param++; > > Why not compatible? Replay for audio adapter will be added in latter patches. Trying to record/replay machine with audio using current set of patches will break the replay. Pavel Dovgalyuk