Re: [libvirt] [PATCH 08/11] qemu: Fix GIC behavior for the default case

2018-02-13 Thread Andrea Bolognani
On Mon, 2018-02-12 at 16:05 -0500, John Ferlan wrote: > > qemuDomainDefEnableDefaultFeatures(virDomainDefPtr def, > > virQEMUCapsPtr qemuCaps) > > { > > -virGICVersion version; > > - > > -/* The virt machine type always uses GIC: if the relevant

Re: [libvirt] [PATCH 08/11] qemu: Fix GIC behavior for the default case

2018-02-12 Thread John Ferlan
On 02/06/2018 11:42 AM, Andrea Bolognani wrote: > When no GIC version is specified, we currently default to GIC v2; > however, that's not a great default, since guests will fail to > start if the hardware only supports GIC v3. > > Change the behavior so that a sensible default is chosen

[libvirt] [PATCH 08/11] qemu: Fix GIC behavior for the default case

2018-02-06 Thread Andrea Bolognani
When no GIC version is specified, we currently default to GIC v2; however, that's not a great default, since guests will fail to start if the hardware only supports GIC v3. Change the behavior so that a sensible default is chosen instead. That basically means using the same algorithm whether the