mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-01 06:21:52 -06:00
hw/9pfs: Add new virtfs option writeout=immediate skip host page cache
writeout=immediate implies the after pwritev we do a sync_file_range. Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
This commit is contained in:
parent
5745e38afe
commit
d3ab98e691
10 changed files with 91 additions and 17 deletions
|
@ -177,6 +177,9 @@ QemuOptsList qemu_fsdev_opts = {
|
|||
}, {
|
||||
.name = "security_model",
|
||||
.type = QEMU_OPT_STRING,
|
||||
}, {
|
||||
.name = "writeout",
|
||||
.type = QEMU_OPT_STRING,
|
||||
},
|
||||
{ /*End of list */ }
|
||||
},
|
||||
|
@ -199,6 +202,9 @@ QemuOptsList qemu_virtfs_opts = {
|
|||
}, {
|
||||
.name = "security_model",
|
||||
.type = QEMU_OPT_STRING,
|
||||
}, {
|
||||
.name = "writeout",
|
||||
.type = QEMU_OPT_STRING,
|
||||
},
|
||||
|
||||
{ /*End of list */ }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue