-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnested-virt-ept.txt
44 lines (40 loc) · 1.12 KB
/
nested-virt-ept.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
==================================seabios==================================
1.nested virt ept]boot two L2 guests(Windows and RHEL) and execute some memory and IO stress test inside guest.
Setup:
1.Boot guest L1 need use "-cpu host"
2.install qemu-kvm inside L1 guest
Actions:
1. check default value
Intel:
#cat /sys/module/kvm_intel/parameters/nested
#cat /sys/module/kvm_intel/parameters/ept
AMD:
# cat /sys/module/kvm_amd/parameters/nested
# cat /sys/module/kvm_amd/parameters/npt
2. enable nested
2.1 Intel:
# modprobe -r kvm_intel
# modprobe kvm_intel nested=1
2.2 #cat /sys/module/kvm_intel/parameters/nested
2.3 AMD
# modprobe -r kvm_amd
# modprobe kvm_amd nested=1
2.4 # cat /sys/module/kvm_amd/parameters/nested
# cat /sys/module/kvm_amd/parameters/npt
2.5 Boot L1 RHEL7.1 guest with -cpu host
2.6. Boot RHEL7.1 guest and windows L2 guest on L1
2.7. do memory and IO stress test inside two guests
linux guest: use stress tools
windows guest: use iozone and MEM stress tools
Expected Results:
step1.
N
Y
0
1
step2.2
1
step2.5 and 2.6
L1 and L2 guest boot successfully
step2.7
L2 and L1 guest works well, qemu-kvm process works well.