On Mon, Sep 28, 2015 at 08:26:22PM +0300, Pavel Fedin wrote:
Hello!
> It's nice that QEMU complains itself, but in a case where it is that
> easy to check the supportability I think it's worth adding because
> then at least we won't prepare all the stuff and can error out early.
Huh...
I am looking at it now, but looks like there's no support for getting machine
properties in QMP.
Or, at least, it's not documented. The easy way would be based on version number
(actually we
already do this with QEMU_CAPS_MACHINE_USB_OPT). Will it be OK?
If there is no other option, then we have nothing to choose from, so
it's OK to have it checked by version in this particular case.
Later on libvirt should support QEMU's QMP introspection from Markus,
but that's a future thing.
Thanks,
Martin
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia