Re: [PATCH 24/41] conf: Introduce virCPUDefMoveModel

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

 



On Tue, Aug 30, 2016 at 10:24:07 -0400, John Ferlan wrote:
> 
> 
> On 08/12/2016 09:33 AM, Jiri Denemark wrote:
> > The function moves CPU model related parts from one CPU definition to
> > another. It can be used to avoid unnecessary copies from a temporary CPU
> > definitions which will be freed anyway.
> > 
> > Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> > ---
> >  src/conf/cpu_conf.c      | 17 +++++++++++++++++
> >  src/conf/cpu_conf.h      |  4 ++++
> >  src/libvirt_private.syms |  1 +
> >  3 files changed, 22 insertions(+)
> > 
> 
> Less "Move" and more "Take"... virCPUDefStealModel is a suggestion - of

Ok, works for me. Changed.

> course it's more than ->model, but close enough I think.

It's documented that it's more than just ->model. And actually all
*Model APIs work on more than just ->model.

Jirka

--
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]