On 04.02.22 17:55, Peter Maydell wrote:
This patchset fixes various minor bugs in KVM and HVF -cpu host and -cpu max: (1) KVM -cpu max was incorrectly adding a 'sve-max-vq' property that wouldn't work and which doesn't exist in KVM -cpu host (2) HVF -cpu max was using all the TCG ID fields and thus promising the guest more than the host CPU can actually do (3) HVF -cpu host wasn't setting up the PAuth properties, so it defaulted to not telling the guest about PAuth support This series fixes (1) by moving the '-cpu host' code to cpu64.c since it's aarch64-specific anyway, which lets us reuse it from the '-cpu max' init function. It fixes (2) and (3) mostly by making HVF use the same bits of code that KVM does for -cpu max and PAuth.
Reviewed-by: Alexander Graf <ag...@csgraf.de> Alex