#
db4898e8 |
| 27-Jun-2018 |
Thomas Huth <thuth@redhat.com> |
Mark many test functions as static
... so we can compile these files with -Wmissing-prototypes, too.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1530086528-21665-5-git-send-email-thu
Mark many test functions as static
... so we can compile these files with -Wmissing-prototypes, too.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1530086528-21665-5-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
36a7018a |
| 13-Apr-2018 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: add test for MSR_IA32_TSC_ADJUST
The test checks the behavior of the MSR between L1 and L2. In particular, the value must be preserved across entry and exit, even in presence of a TSC off
x86: svm: add test for MSR_IA32_TSC_ADJUST
The test checks the behavior of the MSR between L1 and L2. In particular, the value must be preserved across entry and exit, even in presence of a TSC offset in the VMCB.
Based on a VMX test by Ken Hofsass.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
5aca024e |
| 22-Oct-2017 |
Paolo Bonzini <pbonzini@redhat.com> |
lib: move page allocator here from x86
This is another step in porting the x86 (v)malloc implementation to other architectures.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
d637cb11 |
| 19-Dec-2016 |
Andrew Jones <drjones@redhat.com> |
report already adds a newline
Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
55601383 |
| 06-Jun-2016 |
Alexander Gordeev <agordeev@redhat.com> |
x86: Introduce lib/x86/asm/io.h
Make x86 consistent with other architectures and put IO specific defines to lib/x86/asm/io.h
Cc: Andrew Jones <drjones@redhat.com> Cc: Thomas Huth <thuth@redhat.com>
x86: Introduce lib/x86/asm/io.h
Make x86 consistent with other architectures and put IO specific defines to lib/x86/asm/io.h
Cc: Andrew Jones <drjones@redhat.com> Cc: Thomas Huth <thuth@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Alexander Gordeev <agordeev@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
32b9603c |
| 11-May-2016 |
Radim Krčmář <rkrcmar@redhat.com> |
x86/*: report skipped tests
Some care to consistency was given. A test that ended in report_summary without any report is considered as skipped; only x86/hyperv_synic used report_skip resulting in
x86/*: report skipped tests
Some care to consistency was given. A test that ended in report_summary without any report is considered as skipped; only x86/hyperv_synic used report_skip resulting in
SKIP hyperv_synic (1 tests, 1 skipped)
instead of the more consistent
SKIP hyperv_syinc (0 tests)
Drew pointed out that tscdeadline_latency.c doesn't report skipped tests. tscdeadline_latency needs complete refactoring and is not run with ./run_tests, so I ignored it.
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Message-Id: <1462983171-4208-3-git-send-email-rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
ff
show more ...
|
#
b006d7eb |
| 03-Mar-2016 |
Andrew Jones <drjones@redhat.com> |
x86: fix printf format warnings
Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <1457008388-12749-5-git-send-email-drjones@redhat.com> [Fix c
x86: fix printf format warnings
Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <1457008388-12749-5-git-send-email-drjones@redhat.com> [Fix conflicts with "x86: clean up exit use, use abort". - Paolo Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Conflicts:
lib/x86/desc.c
show more ...
|
#
a43ed2ac |
| 12-Dec-2014 |
Andrew Jones <drjones@redhat.com> |
x86: svm: use report
Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
69dd444a |
| 02-Sep-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: add L1 MMIO read-only permission test
Test that the emulator correctly injects a nested page fault VMEXIT.
Reported-by: Valentine Sinitsyn <valentine.sinitsyn@gmail.com> Signed-off-by: Pa
x86: svm: add L1 MMIO read-only permission test
Test that the emulator correctly injects a nested page fault VMEXIT.
Reported-by: Valentine Sinitsyn <valentine.sinitsyn@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
f6a2ca45 |
| 02-Sep-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: add page access reserved bit test
The reserved bit test was testing faults during page walk, rather than during page access. Add another test that uses large pages to test reserved bits d
x86: svm: add page access reserved bit test
The reserved bit test was testing faults during page walk, rather than during page access. Add another test that uses large pages to test reserved bits during page access, and rename the old test to indicate what it really covers.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
e8b10c1f |
| 02-Sep-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: fix exitinfo values for NPT tests
The exitinfo values were plain wrong for the page-walk tests (including npt_rsvd), or else they were missing bits 32:33. Expect the right values.
Signed-
x86: svm: fix exitinfo values for NPT tests
The exitinfo values were plain wrong for the page-walk tests (including npt_rsvd), or else they were missing bits 32:33. Expect the right values.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
93b05099 |
| 01-Sep-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: fix typo in setting up nested page tables
This will cause problems when accessing memory above the first GB, as in the l1mmio test.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
1e699ecb |
| 01-Sep-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: test reading the LVR register twice
The first read will fill the nested page table, the second will find a reserved bit set.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
a2ab7740 |
| 21-Aug-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: vmx/svm: test access to L1 MMIO-mapped device via EPT/NPT page tables
This fails on SVM.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
e0b6541c |
| 30-Jul-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: add a function to do vmmcall
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
bcd9774a |
| 30-Jul-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: IOIO testing
Testing the bitmap handling so far, does not cover string instructions yet.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
3d46571b |
| 30-Jul-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: initialize IO bitmap
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
a43baea0 |
| 30-Jul-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: load/save all GPRs
The cr2 field is unused, but I prefer to keep it the same as vmx (it is also unused there).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
b46094b4 |
| 08-Jul-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
svm: fix mode switch testcase
This was broken because it needed the 32-bit and 16-bit selectors. Add them back to cstart64.S, and change svm.c to use symbolic names.
Signed-off-by: Paolo Bonzini <p
svm: fix mode switch testcase
This was broken because it needed the 32-bit and 16-bit selectors. Add them back to cstart64.S, and change svm.c to use symbolic names.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
726a1dd7 |
| 02-Apr-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: svm: rename get_pte function
We will make it public in vm.c with the next patch.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
c0a4e715 |
| 17-Dec-2013 |
Paolo Bonzini <pbonzini@redhat.com> |
svm: fix warning
x86/svm.c:534:18: warning: variable ‘data’ set but not used
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
095274b4 |
| 16-Apr-2013 |
Prasad Joshi <prasadjoshi.linux@gmail.com> |
x86/svm: run cr3 read intercept emulate only on SMP
The SVM test 'cr3 read intercept emulate' when ran on uniprocessor system does not finish and blocks all the tests scheduled to be ran afterwords.
x86/svm: run cr3 read intercept emulate only on SMP
The SVM test 'cr3 read intercept emulate' when ran on uniprocessor system does not finish and blocks all the tests scheduled to be ran afterwords. Add check so that the test is only ran on the SMP VM.
Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
show more ...
|
#
ef101219 |
| 19-Sep-2010 |
Roedel, Joerg <Joerg.Roedel@amd.com> |
svm: Add VMLOAD/VMSAVE latency test
Just figured out that it makes a lot of sens to measure the latency of stgi and clgi too in this test. Here is an updated one.
>From 350d33d155db8928f81cc8015877
svm: Add VMLOAD/VMSAVE latency test
Just figured out that it makes a lot of sens to measure the latency of stgi and clgi too in this test. Here is an updated one.
>From 350d33d155db8928f81cc801587787c84d6bc8c5 Mon Sep 17 00:00:00 2001 From: Joerg Roedel <joerg.roedel@amd.com> Date: Sun, 19 Sep 2010 15:34:37 +0200 Subject: [PATCH] svm: Add VMLOAD/VMSAVE and STGI/CLGI latency test
This patch adds a test to measure the latency of the VMLOAD and VMSAVE instructions as well as for STGI and CLGI.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
show more ...
|
#
21c23154 |
| 19-Sep-2010 |
Joerg Roedel <joerg.roedel@amd.com> |
svm: Add VMRUN/VMEXIT latency test
This patch adds a test to measure the latency of VMRUN and VMEXIT.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Marcelo Tosatti <mtosatti@red
svm: Add VMRUN/VMEXIT latency test
This patch adds a test to measure the latency of VMRUN and VMEXIT.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
show more ...
|
#
590040ff |
| 14-Sep-2010 |
Joerg Roedel <joerg.roedel@amd.com> |
svm: Add test for the NPT page table walker
This patch adds a test to check if NPT faults that occur while walking the guest page table are reported correctly.
Signed-off-by: Joerg Roedel <joerg.ro
svm: Add test for the NPT page table walker
This patch adds a test to check if NPT faults that occur while walking the guest page table are reported correctly.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
show more ...
|