Stefan Hajnoczi <stefa...@gmail.com> writes: > On Mon, Jul 09, 2018 at 11:11:29AM +0200, Emanuele Giuseppe Esposito wrote: >> This work is being done as Google Summer of Code 2018 project for QEMU, >> my mentors are Paolo Bonzini and Laurent Vivier. >> Additional infos on the project can be found at: >> https://wiki.qemu.org/Features/qtest_driver_framework > > Thanks, I've finished reviewing this version. It looks like a good > start! > > The main challenge to me seems "how can we make tests simpler?". The > presence of a new API and object model raises the bar for writing and > running tests. I hope all qtests will use qgraph but if the complexity > is too high then qgraph may only be used in a few niche cases where > authors think it's worth abstracting machine types and others will > continue to write qtests without qgraph.
The #1 reason for writing code a certain way is following existing examples. As long as "qtest without qgraph" is prevalent in existing tests, it'll remain prevalent in new tests. I'm afraid we'll need a conversion effort. > What are the next steps and do you have plans for making qgraph more > integral to libqos? Good questions.