# CPU instructions in KVM

**URL:** <https://forum.opennebula.io/t/cpu-instructions-in-kvm/10465>\
**Category:** Product Support\
**Created:** [April 7, 2022, 10:28am UTC](https://forum.opennebula.io/t/cpu-instructions-in-kvm/10465 "2022-04-07T10:28:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samu](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@Samu](https://forum.opennebula.io/u/Samu)\
**Post date:** [April 7, 2022, 10:28am UTC](https://forum.opennebula.io/t/cpu-instructions-in-kvm/10465/1 "2022-04-07T10:28:04Z")

</div>

Hello

Is there any way to enable certain CPU instructions in a KVM guest? I’m trying to run Tensorflow but it requires SSE(4)

LXC has those instructions avalaible by default

This is the instructions that I get in a KVM guest

`flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti`

---

<div class="post-metadata">

**Author:** ![Samu](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@Samu](https://forum.opennebula.io/u/Samu)\
**Post date:** [April 7, 2022, 1:40pm UTC](https://forum.opennebula.io/t/cpu-instructions-in-kvm/10465/2 "2022-04-07T13:40:42Z")

</div>

this was fixed by adding:

```auto
RAW = [
  DATA = "<cpu mode='host-passthrough'></cpu>",
  TYPE = "kvm"]

```
