[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v8 01/15] fixup! migration: remove the QEMUFileOps 'get_buffer' c
From: |
Peter Xu |
Subject: |
[PATCH v8 01/15] fixup! migration: remove the QEMUFileOps 'get_buffer' callback |
Date: |
Wed, 22 Jun 2022 16:49:06 -0400 |
This fixes a bug with the cleanup patch. Should be squashed into the patch
in subject.
Cc: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
---
migration/qemu-file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/migration/qemu-file.c b/migration/qemu-file.c
index 3a380a6072..1e80d496b7 100644
--- a/migration/qemu-file.c
+++ b/migration/qemu-file.c
@@ -375,7 +375,7 @@ static ssize_t qemu_fill_buffer(QEMUFile *f)
qio_channel_wait(f->ioc, G_IO_IN);
}
} else if (len < 0) {
- len = EIO;
+ len = -EIO;
}
} while (len == QIO_CHANNEL_ERR_BLOCK);
--
2.32.0
- [PATCH v8 00/15] migration: Postcopy Preemption, Peter Xu, 2022/06/22
- [PATCH v8 02/15] migration: Add postcopy-preempt capability, Peter Xu, 2022/06/22
- [PATCH v8 01/15] fixup! migration: remove the QEMUFileOps 'get_buffer' callback,
Peter Xu <=
- [PATCH v8 03/15] migration: Postcopy preemption preparation on channel creation, Peter Xu, 2022/06/22
- [PATCH v8 04/15] migration: Postcopy preemption enablement, Peter Xu, 2022/06/22
- [PATCH v8 05/15] migration: Postcopy recover with preempt enabled, Peter Xu, 2022/06/22
- [PATCH v8 06/15] migration: Create the postcopy preempt channel asynchronously, Peter Xu, 2022/06/22
- [PATCH v8 07/15] migration: Add property x-postcopy-preempt-break-huge, Peter Xu, 2022/06/22
- [PATCH v8 08/15] migration: Add helpers to detect TLS capability, Peter Xu, 2022/06/22
- [PATCH v8 09/15] migration: Export tls-[creds|hostname|authz] params to cmdline too, Peter Xu, 2022/06/22
- [PATCH v8 10/15] migration: Enable TLS for preempt channel, Peter Xu, 2022/06/22
- [PATCH v8 11/15] migration: Respect postcopy request order in preemption mode, Peter Xu, 2022/06/22