On Fri, Feb 20, 2015 at 10:34:58AM -0700, Eric Blake wrote: > > I followed the proposed API from the wiki, which simply adds an > > additional 'top' parameter to block-stream specifying the image > > that data is written to: > > How does one learn whether qemu is new enough to support this > mode? Until we add QMP introspection, learning whether an optional > parameter exists requires attempting the command and seeing a > different error depending on whether the argument is recognized.
Isn't it possible to just check the QEMU version number? If not, what's the recommended way to do it? Thanks, Berto