Skip to content

Commit

Permalink
KVM: update some test cases name
Browse files Browse the repository at this point in the history
So that all TD cases can be run with simple description.
For example: x86_cpu_flags.tdvm

Signed-off-by: Xudong Hao <[email protected]>
  • Loading branch information
xhao22 committed Sep 3, 2024
1 parent 82b937b commit 14ebcd9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions KVM/qemu/boot_check.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
kill_vm = yes
shell_prompt = "^\[.*\][\#\$]\s*$"
vga = std
variants:
- vm:
- tdvm:
machine_type_extra_params = "kernel-irqchip=split"
vm_secure_guest_type = tdx
auto_cpu_model = "no"
cpu_model = host
variants:
- 1_cpu:
smp = 1
Expand All @@ -44,3 +37,10 @@
mem = 4096
- 16G:
mem = 16384
variants:
- vm:
- tdvm:
machine_type_extra_params = "kernel-irqchip=split"
vm_secure_guest_type = tdx
auto_cpu_model = "no"
cpu_model = host
18 changes: 9 additions & 9 deletions KVM/qemu/x86_cpu_flags.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@
start_vm = no
check_host_flags = yes
only i386, x86_64
variants:
- vm:
# Only No-TDVM supports soft reboot
reboot_method = "shell"
- tdvm:
# TDVM doesn't support soft reboot
machine_type_extra_params = "kernel-irqchip=split"
vm_secure_guest_type = tdx
vga = std
variants:
- tsc_deadline:
auto_cpu_model = "no"
Expand All @@ -23,3 +14,12 @@
- disable:
cpu_model_flags = ",-tsc-deadline"
no_flags = "tsc_deadline_timer"
variants:
- vm:
# Only No-TDVM supports soft reboot
reboot_method = "shell"
- tdvm:
# TDVM doesn't support soft reboot
machine_type_extra_params = "kernel-irqchip=split"
vm_secure_guest_type = tdx
vga = std

0 comments on commit 14ebcd9

Please sign in to comment.