From 0b2d023df7c2ab79a39260d85fe3c775f7d618bc Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Fri, 15 Jan 2016 10:50:57 +0000 Subject: bugfix: remove QEMU warning during mount of shared directory Qemu 2.3.0 requires image type to be explicitly set to 'raw' for shared directories with FAT. Required option "type=raw" is compatible with older QEMU versions, so it can be passed to QEMU by default. Change-Id: Icca5e4249cc2c05c0b9609d7bd34368b4b86f492 JIRA: VSPERF-187 Signed-off-by: Martin Klozik Reviewed-by: Maryam Tahhan Reviewed-by: Brian Castelli --- vnfs/qemu/qemu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnfs/qemu') diff --git a/vnfs/qemu/qemu.py b/vnfs/qemu/qemu.py index 83eea679..536f1fd0 100644 --- a/vnfs/qemu/qemu.py +++ b/vnfs/qemu/qemu.py @@ -83,7 +83,7 @@ class IVnfQemu(IVnf): '-nographic', '-vnc', str(vnc), '-name', name, '-snapshot', '-net none', '-no-reboot', '-drive', - 'if=scsi,file=fat:rw:%s,snapshot=off' % + 'if=scsi,type=raw,file=fat:rw:%s,snapshot=off' % S.getValue('GUEST_SHARE_DIR')[self._number], ] self._configure_logging() -- cgit 1.2.3-korg