[PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

Andrea Bolognani abologna at redhat.com
Tue Apr 7 07:54:42 UTC 2020


On Mon, 2020-04-06 at 16:51 -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.

virt-install's --cpu host maps to libvirt's

  <cpu mode='host-model'/>

while virt-install's --cpu host-passthrough maps to libvirt's

  <cpu mode='host-passthrough'/>

These semantics are not architecture dependent and, while the choice
of name is a bit unfortunate considering that QEMU's -cpu host and
virt-install's --cpu host have different meanings, I think they're
completely unambiguous and reasonably documented, and we should not
mess with them.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the virt-tools-list mailing list