Re: [PATCH v5 03/15] qemu_monitor: use cpu def instead of char for expansion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 19, 2019 at 16:24:54 -0400, Collin Walling wrote:
> When expanding a CPU model via query-cpu-model-expansion, any features
> that were a part of the original model are discarded. For exmaple,
> when expanding modelA with features f1, f2, a full expansion may reveal
> feature f3, but the expanded model will not include f1 or f2.
> 
> Let's pass a virCPUDefPtr to the expansion function in preparation for
> taking features into consideration.
> 
> Signed-off-by: Collin Walling <walling@xxxxxxxxxxxxx>
> ---
>  src/qemu/qemu_capabilities.c | 9 +++++++--
>  src/qemu/qemu_monitor.c      | 7 +++----
>  src/qemu/qemu_monitor.h      | 2 +-
>  src/qemu/qemu_monitor_json.c | 8 ++++----
>  src/qemu/qemu_monitor_json.h | 2 +-
>  tests/cputest.c              | 7 ++++++-
>  6 files changed, 22 insertions(+), 13 deletions(-)

Reviewed-by: Jiri Denemark <jdenemar@xxxxxxxxxx>

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux