diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-09-30 11:57:14 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2016-10-27 09:13:10 +0200 |
commit | 6f01f136af7516b180bc14408c56f96826a316b3 (patch) | |
tree | 83024aad5c8a931dbf4e87d3bd53c0a3376e67cc /migration/migration.c | |
parent | e93a68e102ffc8f8316ce24a57f094734dc4d8f7 (diff) | |
download | qemu-6f01f136af7516b180bc14408c56f96826a316b3.zip qemu-6f01f136af7516b180bc14408c56f96826a316b3.tar.gz qemu-6f01f136af7516b180bc14408c56f96826a316b3.tar.bz2 |
migration: set name for all I/O channels created
Ensure that all I/O channels created for migration are given names
to distinguish their respective roles.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'migration/migration.c')
-rw-r--r-- | migration/migration.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/migration.c b/migration/migration.c index 4d417b7..156e707 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1567,6 +1567,7 @@ static int postcopy_start(MigrationState *ms, bool *old_vm_running) * to do this we use a qemu_buf to hold the whole of the device state. */ bioc = qio_channel_buffer_new(4096); + qio_channel_set_name(QIO_CHANNEL(bioc), "migration-postcopy-buffer"); fb = qemu_fopen_channel_output(QIO_CHANNEL(bioc)); object_unref(OBJECT(bioc)); |