<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-04-02T09:41:10Z</updated>
<entry>
<title>selftests: KVM: Test KVM_X86_QUIRK_FIX_HYPERCALL_INSN</title>
<updated>2022-04-02T09:41:10Z</updated>
<author>
<name>Oliver Upton</name>
<email>oupton@google.com</email>
</author>
<published>2022-03-16T00:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6c2fa8b20d0cad3719b024ba0f25a50199a90c9a'/>
<id>urn:sha1:6c2fa8b20d0cad3719b024ba0f25a50199a90c9a</id>
<content type='text'>
Add a test that asserts KVM rewrites guest hypercall instructions to
match the running architecture (VMCALL on VMX, VMMCALL on SVM).
Additionally, test that with the quirk disabled, KVM no longer rewrites
guest instructions and instead injects a #UD.

Signed-off-by: Oliver Upton &lt;oupton@google.com&gt;
Message-Id: &lt;20220316005538.2282772-3-oupton@google.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
