diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2016-01-15 10:50:57 +0000 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2016-01-21 09:41:35 +0000 |
commit | 0b2d023df7c2ab79a39260d85fe3c775f7d618bc (patch) | |
tree | 7fe9a2b15176ac0ac421f01544b14afaf40f3053 | |
parent | 9a054248197bdaed71b32e9d9c0ac621bf89c1cd (diff) |
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 <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
-rw-r--r-- | vnfs/qemu/qemu.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |