Virtualization: Does my processor support AMD-V or Intel VT?

I am putting this here so I have an easy time finding it next time I need it. Why couldn’t Intel and AMD just call it ‘virt’ or something that is easier to remember?

egrep --color '(svm|vmx)' /proc/cpuinfo

Just put that in a shell, and hit enter. If either svm or vmx is displayed, you have hardware virtualization. It even works as a normal user.

Related Posts:

This entry was posted in Programming and tagged , , , , , , . Bookmark the permalink.

4 Responses to Virtualization: Does my processor support AMD-V or Intel VT?

  1. Calophi says:

    I think the real question here is what plugin are you using for the code? =D

    • admin says:

      It’s a plugin called “SyntaxHighlighter Evolved”. In the body of the article, you put [language] softags, where the language is bash, or C, or perl, or whatever you are using, and just put the code in there. It will automatically load up javascript that does syntax highlighting and line numbering. I also use a plugin to generate my mathematical formulas via a LaTeX web service.

  2. Possibly worth noting that if you run Xen, these processor flags will be stripped. Instead, you’ll need to run ‘xm info’ and look for ‘virt_caps: hvm’.

    Almost ironically, but actually by design, although I extensively use virtualization, I don’t use AMD-V/Intel-VT. Paravirtualization, baby!

    • admin says:

      The stripping of those flags makes sense to me, though, since one wouldn’t want anything by the hypervisor to be talking to the processor on that level.

      I like the hardware virtualization because of the IOMMU and future ability to assign different PCI devices to different memory spaces in the different VMs. That kind of hardware fiddling makes me happy.

      Paravirtualization does have it’s place. The ability to dynamically change RAM size, for instance, is awesome! Hard to do without the kernel knowing it is virtualized.