[PATCH 0/2] kvm: add selftests for API testing

2018-03-28 Thread Paolo Bonzini
This is an initial reduced version of the self tests that Google contributed, with the harness reduced from 12000 to 6000 lines thanks to my trusty chainsaw (model "d%"). Rather than including them in kvm-unit-tests, I chose to place these tests into linux.git, which of course had the side effect

[PATCH 0/2] kvm: add selftests for API testing

2018-03-28 Thread Paolo Bonzini
This is an initial reduced version of the self tests that Google contributed, with the harness reduced from 12000 to 6000 lines thanks to my trusty chainsaw (model "d%"). Rather than including them in kvm-unit-tests, I chose to place these tests into linux.git, which of course had the side effect