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