diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2021-02-04 12:48:30 +0000 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2021-02-08 11:19:51 +0000 |
commit | f1a9fcdd0197ed5ecfee187f8834e7b609d596a6 (patch) | |
tree | af7050ecb39c04c7d7af0abe19c49d6610fa5d0a /softmmu/vl.c | |
parent | f781f84189e3e325da0b0c6a241b77d54b7ea26c (diff) | |
download | qemu-f1a9fcdd0197ed5ecfee187f8834e7b609d596a6.zip qemu-f1a9fcdd0197ed5ecfee187f8834e7b609d596a6.tar.gz qemu-f1a9fcdd0197ed5ecfee187f8834e7b609d596a6.tar.bz2 |
migration: wire up support for snapshot device selection
Modify load_snapshot/save_snapshot to accept the device list and vmstate
node name parameters previously added to the block layer.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210204124834.774401-9-berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'softmmu/vl.c')
-rw-r--r-- | softmmu/vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index 2d6e658..58ed9be 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -2530,7 +2530,7 @@ void qmp_x_exit_preconfig(Error **errp) if (loadvm) { Error *local_err = NULL; - if (!load_snapshot(loadvm, &local_err)) { + if (!load_snapshot(loadvm, NULL, false, NULL, &local_err)) { error_report_err(local_err); autostart = 0; exit(1); |