Skip to contentSkip to conversation

Add 'elf' as supported type by QEMU

PATCH New Juro Bystricky 1 participant 2 messages Feb 6, 2017

lore
Share & tools
lore
#0 lore raw

cover Add 'elf' as supported type by QEMU

Although I don't understand why there is a test to determine if qemu supports a particular fstype, if that's the way it is implemented the list should also include 'elf'.
IMHO the whole supported_fstypes is questionable, we should let qemu decide if it can or cannot support a particular fstype.

Juro Bystricky (1):
qemu.py: add 'elf' as supported fstype

 meta/lib/oeqa/core/target/qemu.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 qemu.py: add 'elf' as supported fstype

Add 'elf' as also supported by OEQemuTarget.

---
 meta/lib/oeqa/core/target/qemu.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/core/target/qemu.py +1 -1
index 641dd6a..9d3f68c 100644
@@ -9,7 +9,7 @@ import time
 from .ssh import OESSHTarget
 from oeqa.utils.qemurunner import QemuRunner
 
-supported_fstypes = ['ext3', 'ext4', 'cpio.gz', 'wic']
+supported_fstypes = ['ext3', 'ext4', 'cpio.gz', 'wic', 'elf']
 
 class OEQemuTarget(OESSHTarget):
     def __init__(self, logger, ip, server_ip, timeout=300, user='root',
Signature · 1 line
2.7.4