[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC 0/2] virt bare-metal payload infrastructure
Re: [Qemu-devel] [PATCH RFC 0/2] virt bare-metal payload infrastructure with atomic test case
Mon, 11 May 2015 12:58:30 +0200
On 7 May 2015 at 14:55, Paolo Bonzini <address@hidden> wrote:
>> For the example spinlock test, racing errors could not be reproduced in
>> the default single-threaded TCG, even with a non-atomic lock. In KVM the
>> expected behaviour of no errors with regular locks, and some errors with
>> a non-atomic lock was observed. Next steps are to test multi-threaded TCG
>> with this kind of payloads, extend the infrastructure to more complex and
>> sensitive test cases, as well as support different architectures.
> Can we reuse the kvm-unit-tests infrastructure? As you said, the
> testcases should run just as well with TCG and KVM.
Eventually yes, this could be an option. Although as mentioned the
primary target is TCG and while ideally the tests should run on both,
behaviour between the two is not always identical.
I have to note that this work initially was targeting not only guests
but also physical platforms for very basic testing, and later I
dropped some parts to shape it around the virt machine model.