mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
migration: file URI offset
Allow an offset option to be specified as part of the file URI, in the form "file:filename,offset=offset", where offset accepts the common size suffixes, or the 0x prefix, but not both. Migration data is written to and read from the file starting at offset. If unspecified, it defaults to 0. This is needed by libvirt to store its own data at the head of the file. Suggested-by: Daniel P. Berrange <berrange@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <1694182931-61390-3-git-send-email-steven.sistare@oracle.com>
This commit is contained in:
parent
2a9e2e595f
commit
385f510df5
2 changed files with 47 additions and 5 deletions
|
@ -4706,7 +4706,7 @@ DEF("incoming", HAS_ARG, QEMU_OPTION_incoming, \
|
|||
" prepare for incoming migration, listen on\n" \
|
||||
" specified protocol and socket address\n" \
|
||||
"-incoming fd:fd\n" \
|
||||
"-incoming file:filename\n" \
|
||||
"-incoming file:filename[,offset=offset]\n" \
|
||||
"-incoming exec:cmdline\n" \
|
||||
" accept incoming migration on given file descriptor\n" \
|
||||
" or from given external command\n" \
|
||||
|
@ -4725,8 +4725,9 @@ SRST
|
|||
``-incoming fd:fd``
|
||||
Accept incoming migration from a given file descriptor.
|
||||
|
||||
``-incoming file:filename``
|
||||
Accept incoming migration from a given file.
|
||||
``-incoming file:filename[,offset=offset]``
|
||||
Accept incoming migration from a given file starting at offset.
|
||||
offset allows the common size suffixes, or a 0x prefix, but not both.
|
||||
|
||||
``-incoming exec:cmdline``
|
||||
Accept incoming migration as an output from specified external
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue