diff --git a/avocado_vt/options.py b/avocado_vt/options.py index e384a798d4..6483797819 100644 --- a/avocado_vt/options.py +++ b/avocado_vt/options.py @@ -354,9 +354,13 @@ def _process_qemu_defconfig(self): LOG.info("Config provided, ignoring %s", defconfig_setting) def _process_malloc_perturb(self): - self.cartesian_parser.assign( - "malloc_perturb", get_opt(self.config, "vt.qemu.malloc_perturb") - ) + malloc_perturb_setting = "config vt.qemu.malloc_perturb" + if not get_opt(self.config, "vt.config"): + self.cartesian_parser.assign( + "malloc_perturb", get_opt(self.config, "vt.qemu.malloc_perturb") + ) + else: + LOG.info("Config provided, ignoring %s", malloc_perturb_setting) def _process_qemu_specific_options(self): """