On 12/29/2011 10:46 AM, Avi Kivity wrote:
On 12/29/2011 06:26 PM, Anthony Liguori wrote:
I don't want to write a TCP/IP stack. We aren't just grabbing a
random distro kernel. We're building one from scratch configured in a
specific way.
How does that help?
Not sure I understand the question.
In what way is your specifically configured kernel's TCP stack better
than the random distro's kernel's?
I firmly believe that with qtest we'll end up eventually building a libOS to
make it easier to write qtest tests.
Overtime, that libOS will become increasingly complex up until the point where
it approaches something that feels like an actual OS. Effort spent developing
libOS is a cost to building test cases.
By using Linux and a minimal userspace as our libOS, we can avoid spending a lot
of time building a sophisticated libOS. If we need advanced libOS features, we
just use qemu-test. If it's just a matter of poking some registers on a device
along, we just use qtest.
Guest neutral tests that are meant to run on Linux, Windows, etc. are in a
completely different ballpark.
Regards,
Anthony Liguori