Skip to content

Commit

Permalink
KVM: update x86_cpuid test due to BM instruction_check chagnes
Browse files Browse the repository at this point in the history
Signed-off-by: Xudong Hao <[email protected]>
  • Loading branch information
xhao22 committed Oct 8, 2024
1 parent 6c13b21 commit 7924538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KVM/qemu/tests/x86_cpuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
curr_dir = os.path.dirname(os.path.abspath(__file__))
check_dir = "%s/../../../BM/instruction-check" % curr_dir
sys.path.append(check_dir)
from feature_list import cpuid_info
from feature_list import feature_list


def prepare_cpuid(test, params, src_dir, vm=None, session=None):
Expand Down Expand Up @@ -62,7 +62,7 @@ def check_cpuid(params, feature, exec_bin, session=None):
:param exec_bin: The execuable bianry tool with absolute path
:param session: Guest session
"""
args = cpuid_info[feature]
args = feature_list[feature]["cpuid"]
args_str = ' '.join(args)

check_cmd = '%s %s' % (exec_bin, args_str)
Expand Down

0 comments on commit 7924538

Please sign in to comment.