Octocontrabass wrote:
bzt wrote:
You need to compile qemu with TCG support for these features.
You would need to write the code for it first!
True, but I'm pretty sure these are already implemented. I've only used "-cpu host,+x2apic,+tsc-deadline", and it worked for me, but look:
- all of fma, pcid, x2apic, tsc-deadline enabled for cpu "Haswell"
here.
- furthermore, for x2apic:
here and
here for example.
- and for tsc-deadline msr
here.
But kvm emulation also works for all of these, so if the OP can do kvm, they definitely should. Just for the records, x2apic and tsc-deadline works since SandyBridge, it's only fma and pcid that requires Haswell. If I were in the OP shoes, I'd reconsider if that latter two features are really necessary for my kernel.
Cheers,
bzt