<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/kvm/Makefile, branch linux-4.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-10-18T07:18:13Z</updated>
<entry>
<title>selftests: add headers_install to lib.mk</title>
<updated>2018-10-18T07:18:13Z</updated>
<author>
<name>Anders Roxell</name>
</author>
<published>2018-09-04T10:47:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40299ec565fa7158e3f11d963fdd0d3f02e50f88'/>
<id>urn:sha1:40299ec565fa7158e3f11d963fdd0d3f02e50f88</id>
<content type='text'>
[ Upstream commit b2d35fa5fc80c27e868e393dcab4c94a0d71737f ]

If the kernel headers aren't installed we can't build all the tests.
Add a new make target rule 'khdr' in the file lib.mk to generate the
kernel headers and that gets include for every test-dir Makefile that
includes lib.mk If the testdir in turn have its own sub-dirs the
top_srcdir needs to be set to the linux-rootdir to be able to generate
the kernel headers.

Signed-off-by: Anders Roxell &lt;anders.roxell@linaro.org&gt;
Reviewed-by: Fathi Boudra &lt;fathi.boudra@linaro.org&gt;
Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>KVM: selftests: exit with 0 status code when tests cannot be run</title>
<updated>2018-05-11T09:21:12Z</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2018-04-18T16:26:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bcb2b94ae01009db26d1ad0811975405149b14f0'/>
<id>urn:sha1:bcb2b94ae01009db26d1ad0811975405149b14f0</id>
<content type='text'>
Right now, skipped tests are returning a failure exit code if /dev/kvm does
not exists.  Consistently return a zero status code so that various scripts
over the interwebs do not complain.  Also return a zero status code if
the KVM_CAP_SYNC_REGS capability is not present, and hardcode in the
test the register kinds that are covered (rather than just using whatever
value of KVM_SYNC_X86_VALID_FIELDS is provided by the kernel headers).

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>kvm: selftests: add vmx_tsc_adjust_test</title>
<updated>2018-04-16T15:50:23Z</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2018-03-27T20:46:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5edb7f8e7ab9fd5fd54a77d957b1733f117a813'/>
<id>urn:sha1:d5edb7f8e7ab9fd5fd54a77d957b1733f117a813</id>
<content type='text'>
The test checks the behavior of setting MSR_IA32_TSC in a nested guest,
and the TSC_OFFSET VMCS field in general.  It also introduces the testing
infrastructure for Intel nested virtualization.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>kvm: selftests: add -std=gnu99 cflags</title>
<updated>2018-04-12T16:36:41Z</updated>
<author>
<name>Peng Hao</name>
</author>
<published>2018-04-13T00:36:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4e1acd7b31a03f24cc6108d37d005e6b1d48c5d3'/>
<id>urn:sha1:4e1acd7b31a03f24cc6108d37d005e6b1d48c5d3</id>
<content type='text'>
lib/kvm_util.c: In function ‘kvm_memcmp_hva_gva’:
lib/kvm_util.c:332:2: error: ‘for’ loop initial declarations are only allowed in C99 mode

So add -std=gnu99 to CFLAGS

Signed-off-by: Peng Hao &lt;peng.hao2@zte.com.cn&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>kvm: selftests: add sync_regs_test</title>
<updated>2018-04-04T17:11:00Z</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2018-03-28T07:45:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6089ae0bd5e15fc150adce5bc694e87e00513825'/>
<id>urn:sha1:6089ae0bd5e15fc150adce5bc694e87e00513825</id>
<content type='text'>
This includes the infrastructure to map the test into the guest and
run code from the test program inside a VM.

Signed-off-by: Ken Hofsass &lt;hofsass@google.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>kvm: selftests: add API testing infrastructure</title>
<updated>2018-04-04T17:11:00Z</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2018-03-27T09:49:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=783e9e51266ebb7f78c606a53cb0fa41bb7c31a0'/>
<id>urn:sha1:783e9e51266ebb7f78c606a53cb0fa41bb7c31a0</id>
<content type='text'>
Testsuite contributed by Google and cleaned up by myself for
inclusion in Linux.

Signed-off-by: Ken Hofsass &lt;hofsass@google.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
