qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] Future goals for autotest and virtualization test


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC] Future goals for autotest and virtualization tests
Date: Fri, 09 Mar 2012 16:34:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

Il 09/03/2012 16:24, Anthony Liguori ha scritto:
>> At the very least dump the inquiry pages, mode pages, etc. and see that
>> they make sense and correspond to the device properties.
> 
> Is this not something that's reasonably easy to do in qtest?

Yes (at least with virtio-scsi the libos bits are relatively small; just
think of what it would have been like when the only HBA was LSI), but
with one gotcha...

> Is it possible to write a C program that does the ioctl and dump the
> inquiry page in a text format conducive to shell parsing?

... sg_utils also parses the pages and dumps them in human-readable
format.  This is useful because it provides a completely separate
implementation and avoids problems with misinterpretation of the
standard.  Of course it would work just as well if someone wrote tests
instead of me.

>>> Are these the sort of tests that would be interesting to also run on
>>> Fedora, Windows, and Ubuntu?
>>
>> They should give exactly the same output on any guest.
> 
> Is it valuable to have a per-platform test or since this is mostly
> passthrough to the device (I assume), do you just need a single test?

Ah, understood.  Yeah, a single test is enough for the purpose of
testing QEMU.  If you want to test the driver too, running under Windows
would be useful.

Paolo



reply via email to

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