Re: 12.0-RELEASE und kvm/qemu using <cpu mode='host-model' check='partial'> on AMD EPYC
> On Feb 11, 2019, at 6:32 AM, Christian Kratzer <[hidden email]> wrote:
> I am running freebsd vm on debian 10 buster with libvirt/kvm/qemu.
> I have several kvm hosts in the cluster. Some with various intel xeon and others with AMD EPYC 7301 cpu.
> FreeBSD vms upto 11.2-RELEASE-p9 boo fine on all systems when passing through the host cpu using following libvirt xml
> <cpu mode='host-model' check='partial'>
> <model fallback='allow'/>
It's just as likely to be a bug in Qemu or KVM as it is in FreeBSD IMO. Maybe you can start by determining which CPU feature or features trigger(s) the issue. You'll have to hand-roll either some libvirt XML or qemu command lines to do it. Assuming you want to stick with XML, first grab the CPU model and features list from `virsh capabilities`. Then start with just the model without any extra features (using AMD hardware I have access to as an example, replace "Opteron_G3" as appropriate):