Now that we are introducing deprecation information on machine-types and devices on QEMU, we need to provide an API for management software to query this information. This BZ is about adding APIs for that on the libvirt side. Feel free to split this into separate tasks if necessary.
*** This bug has been marked as a duplicate of bug 1696485 ***