Public bug reported: There currently is no interface for an external tool to determine what GIC versions can be used by guests on the current hardware/QEMU combination. Upstream patches have recently landed to solve this problem, exposing a QMP interface for probing the system:
dannf@mustang:~$ telnet localhost 4444 Trying ::1... Connected to localhost. Escape character is '^]'. {"QMP": {"version": {"qemu": {"micro": 0, "minor": 5, "major": 2}, "package": " (Debian 1:2.5+dfsg-5ubuntu6)"}, "capabilities": []}} { "execute": "qmp_capabilities" } {"return": {}} { "execute": "query-gic-capabilities" } {"return": [{"emulated": false, "version": 3, "kernel": false}, {"emulated": true, "version": 2, "kernel": true}]} This is important, because VM management software (i.e. libvirt) need to be able to figure out what guest configurations are supported. ** Affects: qemu (Ubuntu) Importance: High Status: Confirmed ** Tags: arm64 armhf patch ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1566564 Title: support query-gic-version QMP command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1566564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs