On Mon, Apr 06, 2020 at 04:51:29PM -0400, Liang Yan wrote: > virt-install already uses 'host-passthrough' as default when no setup > for cmline '--cpu'. However, it will still use 'host-model' when comes > with '-cpu host'. This will be a problem for aarch64 platfrom as > 'host-model' for aarch64 kvm domain on aarch64 host is not supported yet. I don't thing this is a good approach. virt-install supports '--cpu host-passthrough' and having '--cpu host' behave differently on each architecture seems wrong to me. If libvirt errors out correctly in case of '--cpu host' on aarch64 then there is nothing else to do. If libvirt is happy with that configuration but it fails in QEMU or elsewhere with non-descriptive error message then we can error out in virt-install. Pavel
Attachment:
signature.asc
Description: PGP signature