Unify detection of machine types and clean up some return value handling.
Ján Tomko (7):
Use qemuDomainMachineIs helpers when adding default devices
Invert condition in qemuDomainDefAddDefaultDevices
Return void in qemuDomainAssignARMVirtioMMIOAddresses
Remove useless variable in qemuDomainAssignAddresses
Rewrite the condition in qemuDomainAssignARMVirtioMMIOAddresses
Introduce qemuDomainMachineIsVirt
Remove useless os.machine NULL check
src/qemu/qemu_capabilities.c | 3 +--
src/qemu/qemu_command.c | 3 +--
src/qemu/qemu_domain.c | 32 +++++++++++++-----------------
src/qemu/qemu_domain.h | 1 +
src/qemu/qemu_domain_address.c | 45 ++++++++++++++++++++----------------------
5 files changed, 38 insertions(+), 46 deletions(-)
--
2.7.3