Re: [libvirt] [PATCH 2/6] qemu: Add -machine suffix automatically

2019-05-17 Thread Pavel Hrdina
On Thu, May 16, 2019 at 05:35:32PM +0200, Andrea Bolognani wrote: > The QOM type for machine types is the machine type name > followed by the -machine suffix. Since this is always the > case, we can make virQEMUCapsMachineProps more readable > and avoid repetition by not including the suffix there

[libvirt] [PATCH 2/6] qemu: Add -machine suffix automatically

2019-05-16 Thread Andrea Bolognani
The QOM type for machine types is the machine type name followed by the -machine suffix. Since this is always the case, we can make virQEMUCapsMachineProps more readable and avoid repetition by not including the suffix there and adding it automatically while processing the data. Signed-off-by: