gitignore: Add tags file to .gitignore
PATCH 1/1 gitignore: Add tags file to .gitignore
Add ctags tags file to .gitignore so they don't get checked-in accidentally.
--- .gitignore | 1 + 1 file changed, 1 insertion(+)
.gitignore +1 -0
@@ -1,3 +1,4 @@ +tags .gdbinit *.a *.d
Signature · 12 lines
2.17.1 Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879
PATCH 1/1 x86: Fix misspelled KVM parameter in error message
KVM module parameter force_emulation_prefix is misspelled with a "forced"; fix it.
--- x86/emulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
x86/emulator.c +1 -1
@@ -1124,7 +1124,7 @@ int main(void)test_mov_dr (mem); }else {report_skip ("skipping register-only tests, " -"use kvm.forced_emulation_prefix=1 to enable" ); +"use kvm.force_emulation_prefix=1 to enable" ); }test_push16 (mem);
Signature · 12 lines
2.17.1 Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879
Re: [kvm-unit-tests PATCH] x86: Fix misspelled KVM parameter in error message
Quoted 14 lines · Siddharth Chandrasekaran
KVM module parameter
force_emulation_prefixis misspelled with a "forced"; fix it.Signed-off-by Siddharth Chandrasekaran <[email protected]>--- x86/emulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)x86/emulator.c +0
-0
x86/emulator.c int main(void) · line 1130
Quoted 8 lines
x86/emulator.c +1
-1@@ -1124,7 +1124,7 @@ int main(void)test_mov_dr (mem); }else {report_skip ("skipping register-only tests, " -"use kvm.forced_emulation_prefix=1 to enable" ); +"use kvm.force_emulation_prefix=1 to enable" ); }test_push16 (mem);
Queued this one, thanks!
Paolo
PATCH 1/1 x86: Add hyper-v overlay page tests
In reply to Siddharth ChandrasekaranPatch series [1] starts treating hypercall code page as an overlay page (along with the existing synic event and message pages). Add KVM unit tests to make sure the underlying page contents are intact with various overlay workflows.
[1]: https://www.spinics.net/lists/kvm/msg244569.html
--- x86/Makefile.common | 3 ++ x86/hyperv.h | 1 + x86/hyperv_overlay.c | 96 ++++++++++++++++++++++++++++++++++++++++++++ x86/unittests.cfg | 5 +++ 4 files changed, 105 insertions(+) create mode 100644 x86/hyperv_overlay.c
x86/Makefile.common +3 -0
@@ -62,6 +62,7 @@ tests-common = $(TEST_DIR)/vmexit.flat $(TEST_DIR)/tsc.flat \ $(TEST_DIR)/init.flat $(TEST_DIR)/smap.flat \ $(TEST_DIR)/hyperv_synic.flat $(TEST_DIR)/hyperv_stimer.flat \ $(TEST_DIR)/hyperv_connections.flat \ + $(TEST_DIR)/hyperv_overlay.flat \ $(TEST_DIR)/umip.flat $(TEST_DIR)/tsx-ctrl.flat test_cases: $(tests-common) $(tests)
@@ -82,6 +83,8 @@ $(TEST_DIR)/hyperv_stimer.elf: $(TEST_DIR)/hyperv.o $(TEST_DIR)/hyperv_connections.elf: $(TEST_DIR)/hyperv.o +$(TEST_DIR)/hyperv_overlay.elf: $(TEST_DIR)/hyperv.o + arch_clean: $(RM) $(TEST_DIR)/*.o $(TEST_DIR)/*.flat $(TEST_DIR)/*.elf \ $(TEST_DIR)/.*.d lib/x86/.*.d \
x86/hyperv.h +1 -0
@@ -52,6 +52,7 @@#define HV_X64_MSR_STIMER3_CONFIG 0x400000B6#define HV_X64_MSR_STIMER3_COUNT 0x400000B7 +#define HV_OVERLAY_ENABLE (1ULL << 0)#define HV_SYNIC_CONTROL_ENABLE (1ULL << 0)#define HV_SYNIC_SIMP_ENABLE (1ULL << 0)#define HV_SYNIC_SIEFP_ENABLE (1ULL << 0)
x86/hyperv_overlay.c new file +96 -0
96 lines not on this page · raw message
x86/unittests.cfg +5 -0
@@ -372,6 +372,11 @@ arch = x86_64 groups = hyperv check = /sys/devices/system/clocksource/clocksource0/current_clocksource=tsc +[hyperv_overlay] +file = hyperv_overlay.flat +extra_params = -cpu kvm64,hv_vpindex,hv_synic +groups = hyperv + [intel_iommu] file = intel-iommu.flat arch = x86_64
Signature · 12 lines
2.17.1 Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879
Paolo Bonzini
maintainerQuoted 14 lines · Siddharth Chandrasekaran
Add ctags tags file to .gitignore so they don't get checked-in accidentally.
Signed-off-by Siddharth Chandrasekaran <[email protected]>--- .gitignore | 1 + 1 file changed, 1 insertion(+).gitignore +0
-0
.gitignore line 4
Quoted 4 lines
.gitignore +1
-0@@ -1,3 +1,4 @@ +tags .gdbinit *.a *.d
If you're using them, you might consider adding the Makefile rules to create the files. Alternatively, you can add "tags" to your global ~/.git/info/exclude.
Having the file but not the rules feels like the worst of both worlds...