On 14/05/2023 19:42, Cédric Le Goater wrote:
External email: Use caution opening links or attachments
Hello Avihai,
+static int loadvm_handle_initial_data_enable(MigrationIncomingState
*mis)
+{
+ InitialDataInfo buf;
+ SaveStateEntry *se;
+ ssize_t read_size;
+
+ read_size = qemu_get_buffer(mis->from_src_file, (void *)&buf,
sizeof(buf));
+ if (read_size != sizeof(buf)) {
+ error_report("%s: Could not get data buffer, read_size %ld,
len %lu",
please use %zd and %zu for ssize_t.
Ah, right. Sure will change.
Thanks.