[libvirt] [PATCH 04/22] qemu: Filter models in virQEMUCapsGetCPUDefinitions

Ján Tomko jtomko at redhat.com
Mon Oct 7 14:02:17 UTC 2019


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 <jdenemar at 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 <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191007/065ece62/attachment-0001.sig>


More information about the libvir-list mailing list