On Fri, Sep 04, 2026 at 11:28:35AM +0100, Peter Maydell wrote: > On Fri, 4 Sept 2026 at 11:25, Daniel P. Berrangé <[email protected]> wrote: > > We need to use QAPI MachineInfo / MachineClass to report to mgmt apps > > whether a machine is capable of using hardware acceleration or not in > > response to "query-machines". > > > > Currently if a target supports HW accel, then apps assume that all > > machines in that target can use acceleration. This was a convenient > > short cut assumption, but this new machine suggests we can no make > > do with that assumption, and need to explicitly report it per-machine. > > That assumption has never been true for Arm; this new machine > type is no different to any of our existing boards in that regard. > Support for KVM etc is only present for the 'virt' machine type and > one or two others. Most of the rest don't work with KVM because they > create a specific CPU type (not 'host' or 'max') and that won't work > with KVM, or (as with sbsa-ref) because they want EL3 support and > KVM doesn't provide that.
Oh, then the problem is already way worse than I realized which really makes we think we should consider exposing whether machines can use HW acceleration or not. With regards, Daniel -- |: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
