Re: [Qemu-devel] [PATCH v2 1/6] machine: export register_compat_prop()

2017-06-09 Thread Juan Quintela
Peter Xu wrote: > We have HW_COMPAT_*, however that's only binded to machines, not other > things (like accelerators). Behind it, it was register_compat_prop() > that played the trick. Let's export the function for further use > outside HW_COMPAT_* magic. > > CC: Eduardo Habkost > CC: Markus Ar

[Qemu-devel] [PATCH v2 1/6] machine: export register_compat_prop()

2017-06-08 Thread Peter Xu
We have HW_COMPAT_*, however that's only binded to machines, not other things (like accelerators). Behind it, it was register_compat_prop() that played the trick. Let's export the function for further use outside HW_COMPAT_* magic. CC: Eduardo Habkost CC: Markus Armbruster CC: Marcel Apfelbaum