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

2017-04-18 Thread Pavel Hrdina
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 vi

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

2017-04-18 Thread Peter Krempa
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

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

2017-04-18 Thread Pavel Hrdina
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