From e7317f228ee8580b0c008d9b989c61d0f443c871 Mon Sep 17 00:00:00 2001 From: zhenyzha Date: Mon, 7 Aug 2023 14:20:18 +0800 Subject: [PATCH] hotplug_mem_negative:Update ipa limit search criteria Update ipa limit search criteria Signed-off-by: zhenyzha --- qemu/tests/cfg/hotplug_mem_negative.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/tests/cfg/hotplug_mem_negative.cfg b/qemu/tests/cfg/hotplug_mem_negative.cfg index 083df9651d..d691cf9dea 100644 --- a/qemu/tests/cfg/hotplug_mem_negative.cfg +++ b/qemu/tests/cfg/hotplug_mem_negative.cfg @@ -25,7 +25,7 @@ # On arm64, machine type can be used to request the # physical address size for the VM. For backward compatibility, # the default IPA size is 40bits. - ipa_limit_check = "cat /var/log/messages | grep "IPA Size Limit:" | awk '{print $11}'" + ipa_limit_check = "grep 'IPA Size Limit:' /var/log/messages | head -n 1 | awk '{print $(NF-1)}'" # Start address of system memory is 1G. system_init_mem = 1 RHEL.8: