Re: [libvirt] [PATCH] qemu: Make sure preferredMachines is not missing any entry

2018-08-24 Thread Erik Skultety
On Thu, Aug 23, 2018 at 06:57:24PM +0200, Andrea Bolognani wrote: > With the current implementation, adding a new architecture > and not updating preferredMachines accordingly will not > cause a build failure, making it very likely that subtle > bugs will be introduced in the process. Rework the

[libvirt] [PATCH] qemu: Make sure preferredMachines is not missing any entry

2018-08-23 Thread Andrea Bolognani
With the current implementation, adding a new architecture and not updating preferredMachines accordingly will not cause a build failure, making it very likely that subtle bugs will be introduced in the process. Rework the code so that such issues will be caught by the compiler. Signed-off-by: