qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [ANNOUNCE] qemu-test: a set of tests scripts for QEMU


From: Avi Kivity
Subject: Re: [Qemu-devel] [ANNOUNCE] qemu-test: a set of tests scripts for QEMU
Date: Thu, 29 Dec 2011 19:40:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

On 12/29/2011 07:36 PM, Peter Maydell wrote:
> On 29 December 2011 17:26, Avi Kivity <address@hidden> wrote:
> > On 12/29/2011 07:22 PM, Peter Maydell wrote:
> >> I think for devices what would be particularly useful would be
> >> if you can write a (simple) test for something at the register
> >> level, which generates an image which you can run on the real
> >> hardware as well as on QEMU. Then you can confirm that your test
> >> case is correct. Otherwise the tests are just going to bake in the
> >> same assumptions/misconceptions about what the hardware does as
> >> the QEMU model.
> >
> > That is exactly qtest.
>
> Am I missing something? I looked at the qtest patches and they seem
> to work by just prodding the device through qemu function calls,
> not by running a guest CPU binary that prods the device.

Sorry, I misread your post.

I guess we can point a qtest test at real hardware too, if something
like vfio is available to provide access to registers and to hook
interrupts.

-- 
error compiling committee.c: too many arguments to function




reply via email to

[Prev in Thread] Current Thread [Next in Thread]