Skip to content

Commit

Permalink
Merge pull request autotest#5456 from dzhengfy/fix_cpu_model
Browse files Browse the repository at this point in the history
vcpu_misc: fix cpu model for arm
  • Loading branch information
chunfuwen authored Feb 26, 2024
2 parents 996e4d0 + 8518010 commit 724ff47
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions libvirt/tests/cfg/cpu/vcpu_misc.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
- snapshot:
cpu_mode = "host-model"
test_operations = "do_snapshot"
expected_str_before_startup = ${cpu_mode}
expected_str_after_startup = 'mode="custom"'
aarch64:
cpu_mode = "host-passthrough"
expected_str_after_startup = ${cpu_mode}
pseries:
expected_str_after_startup = ${cpu_mode}
expected_str_before_startup = ${cpu_mode}
- vendor_id:
no pseries, s390x
no pseries, s390x, aarch64
cpu_mode = "host-model"
check_vendor_id = "yes"
- with_topology:
Expand All @@ -32,8 +35,8 @@
expected_str_after_startup = 'mode="host-passthrough"'
customize_cpu_features = "yes"
- with_maxphysaddr:
no s390-virtio
func_supported_since_libvirt_ver = (9, 3, 0)
no s390-virtio,aarch64
func_supported_since_libvirt_ver = (9, 3, 0)
maxphysaddr = {'mode': 'passthrough', 'limit':'%d'}
expected_qemuline = "host-phys-bits-limit=%s"
cmd_in_guest = "lscpu|grep Address"
Expand Down

0 comments on commit 724ff47

Please sign in to comment.