]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Automatically choose usable GIC version
authorAndrea Bolognani <abologna@redhat.com>
Mon, 9 May 2016 13:38:55 +0000 (15:38 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 18 May 2016 09:27:50 +0000 (11:27 +0200)
commit1a012c9a51e677410fa8219042a1830fb47e9e9a
tree7899ed6d8ec0ae069aeb19a261db1ee500922a0b
parent58f0152f3b1ebc844cc63ae7dc7818dd5859d8c6
qemu: Automatically choose usable GIC version

When the <gic/> element in not present in the domain XML, use the
domain capabilities to figure out what GIC version is usable and
choose that one automatically.

This allows guests to be created on hardware that only supports
GIC v3 without having to update virt-manager and similar tools.

Keep using the default GIC version if the <gic/> element has been
added to the domain XML but no version has been specified, as not
to break existing guests.
src/qemu/qemu_domain.c