On Thu, Oct 03, 2019 at 04:00:22PM +0200, Jiri Denemark wrote:
Some callers of virQEMUCapsGetCPUDefinitions will need to filter the
returned list of CPU models. Let's add the filtering parameters directly
to virQEMUCapsGetCPUDefinitions to avoid copying the CPU models list
twice.

Signed-off-by: Jiri Denemark <jdene...@redhat.com>
---
src/qemu/qemu_capabilities.c | 11 ++++++++---
src/qemu/qemu_capabilities.h |  4 +++-
src/qemu/qemu_driver.c       |  2 +-
src/qemu/qemu_process.c      |  2 +-
tests/cputest.c              |  2 +-
5 files changed, 14 insertions(+), 7 deletions(-)


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to