
19 Apr
2018
19 Apr
'18
8:11 a.m.
On Wed, Apr 18, 2018 at 05:33:38PM +0200, Peter Krempa wrote:
The disk cache mode translates to various frontend and backend attributes for the qemu block layer. For the frontend device the 'writeback' parameter is used and provided as 'write-cache'. Implement this so that we can later switch to using -blockdev where we will not pass the cachemode directly any more.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- src/qemu/qemu_command.c | 27 ++++++++++++++++++++++ .../disk-drive-write-cache.x86_64-2.7.0.args | 10 ++++---- .../disk-drive-write-cache.x86_64-latest.args | 10 ++++---- 3 files changed, 39 insertions(+), 8 deletions(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano