On Wed, Apr 18, 2018 at 11:38:44AM +0200, Peter Krempa wrote:
Add helper which will map values of disk cache mode to the flags
which
are accepted by various parts of the qemu block layer.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_domain.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++
src/qemu/qemu_domain.h | 6 ++++
2 files changed, 81 insertions(+)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano