summary refs log tree commit diff stats
path: root/migration/channel-block.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* migration: introduce a QIOChannel impl for BlockDriverState VMStateDaniel P. Berrangé2022-06-221-0/+59
Introduce a QIOChannelBlock class that exposes the BlockDriverState VMState region for I/O. This is kept in the migration/ directory rather than io/, to avoid a mutual dependancy between block/ <-> io/ directories. Also the VMState should only be used by the migration code. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> dgilbert: Fixed coding style in qio_channel_block_close