
On Tue, Dec 15, 2015 at 04:03:13PM +0000, Peter Maydell wrote:
On 15 December 2015 at 14:12, Martin Kletzander <mkletzan@redhat.com> wrote:
On Tue, Dec 15, 2015 at 09:41:02AM +0000, Peter Maydell wrote:
On 15 December 2015 at 09:36, Martin Kletzander <mkletzan@redhat.com> wrote:
We do pass some options, for example, you can restrict the GIC to v2: https://libvirt.org/formatdomain.html#elementsFeatures
That could be modified to work for your purpose IIUC, right?
What does that option do to the QEMU command line? The documentation doesn't seem to say.
It appends gic-version= to the machine option, if bunch of conditions are met -- it has to be ARM machine, it has to be something else than version 2, and so on, more details are visible in the code and I won't cover them here. I hope that's understandable.
OK. So it should be sufficient just to have <gic version='host'/> which will then provide whatever VGIC the host machine can do with hardware acceleration.
This is probably good for guests that happy with both. Guests that need/want a specific choice will put their integer there, and then we need a way to do a capabilities check before launching that guest on an arbitrary host. drew