mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
migration: convert post-copy to use QIOChannelBuffer
The post-copy code does some I/O to/from an intermediate in-memory buffer rather than direct to the underlying I/O channel. Switch this code to use QIOChannelBuffer instead of QEMUSizedBuffer. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1461751518-12128-12-git-send-email-berrange@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
This commit is contained in:
parent
d59ce6f344
commit
61b67d473d
4 changed files with 26 additions and 42 deletions
|
@ -403,8 +403,8 @@ listen thread: --- page -- page -- page -- page -- page --
|
|||
|
||||
On receipt of CMD_PACKAGED (1)
|
||||
All the data associated with the package - the ( ... ) section in the
|
||||
diagram - is read into memory (into a QEMUSizedBuffer), and the main thread
|
||||
recurses into qemu_loadvm_state_main to process the contents of the package (2)
|
||||
diagram - is read into memory, and the main thread recurses into
|
||||
qemu_loadvm_state_main to process the contents of the package (2)
|
||||
which contains commands (3,6) and devices (4...)
|
||||
|
||||
On receipt of 'postcopy listen' - 3 -(i.e. the 1st command in the package)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue