title: How do I get every supported CPU flags as QEMU CPU flags?
body: <p>In my <strong>QEMU virtual machine</strong>, I need to use a <strong>specific CPU model</strong>, but with the <strong>maximum CPU flags enabled (for performance)</strong>.</p>
  <p>To do that I wanted to use <code>/proc/cpuinfo</code> and use <code>grep</code> and <code>cut</code> to get the flags, but the problem is that QEMU uses different names (for example <code>sse4_2</code> is going to be <code>sse4.2</code>).</p>
  <p>So <strong>how would I go</strong> about getting the CPU flags, then translating them into valid QEMU CPU flags?</p>