]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: Add direct-io parameter
authorFabiano Rosas <farosas@suse.de>
Mon, 17 Jun 2024 18:57:26 +0000 (15:57 -0300)
committerFabiano Rosas <farosas@suse.de>
Fri, 21 Jun 2024 12:47:22 +0000 (09:47 -0300)
commitb43b61d5bee522dadf44b472af71aab7235c13d5
treef8fc16b33cdc39384d4836d9b18330db89bed3ba
parent46cec74c1b71973756d8960a305bae1491ae6259
migration: Add direct-io parameter

Add the direct-io migration parameter that tells the migration code to
use O_DIRECT when opening the migration stream file whenever possible.

This is currently only used with the mapped-ram migration that has a
clear window guaranteed to perform aligned writes.

Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
include/qemu/osdep.h
migration/migration-hmp-cmds.c
migration/options.c
migration/options.h
qapi/migration.json
util/osdep.c