Re: [PATCH v2 1/4] qemu: refactor qemuDomainMachine* functions

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

 



On Tue, Apr 18, 2017 at 01:45:31PM +0200, Peter Krempa wrote:
> On Tue, Apr 18, 2017 at 13:37:26 +0200, Pavel Hrdina wrote:
> > Introduce new wrapper functions without *Machine* in the function
> > name that take the whole virDomainDef structure as argument and
> > call the existing functions with *Machine* in the function name.
> > 
> > Change the arguments of existing functions to *machine* and *arch*
> > because they don't need the whole virDomainDef structure and they
> > could be used in places where we don't have virDomainDef.
> > 
> > Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
> > ---
> > 
> > New in v2:
> >     - add a wrappers that extract required data from virDomainDef structure
> 
> This should have been split into the rename patch and then into addition
> of the new wrappers. Calling this "refactor" is a convenient way to
> avoid doing that.

And I almost got away with it :).

> 
> ACK regardless.

Thanks

Attachment: signature.asc
Description: Digital signature

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