Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm testing Nova Compute from OpenStack project inside of a VMware Workstation v7 virtual machine, and I get this error:

libvirtError: internal error no supported architecture for os type 'hvm'

This is because the VM can't run hardware accelerated Xen VMs (hvm), that is, guest CPU doest not have Intel-VT or AMD-V support. According to VMware, "Running Nested VMs", I can enable this support adding those parameters to ".vmx" file:

guestOS = "vmkernel"
monitor_control.vt32 = "TRUE"
monitor_control.restrict_backdoor = "TRUE"

But, it doesn't work, running 'grep vmx /proc/cpuinfo' inside the VM does not report Intel-VT support, also running "kvm-ok" from "cpu-checker" package I get:

# kvm-ok
INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used

Can I configure VMware Workstation to run KVM acceleration or Xen HVM? thanks!

share|improve this question
add comment

3 Answers

VMware Workstation 7 doesn't support nested hvm. You should try VMware Workstation 8 or 9.

Edit the virtual machine and modify the processor options. In the Virtualization engine , check "Virtualize Intel-x/EPT or AMD-V/RVI"。

If you are using VMware Workstation 8, you should also modify the .vmx file of the vm, add a new line : vhv.enable = "TRUE" You can refer to this. http://communities.vmware.com/community/vmtn/bestpractices/nested

share|improve this answer
add comment

Have you actually read that article you linked to? Its first line is "It is only possible to run nested VMs when the outer VM uses hardware-assisted virtualization (Intel VT-x or AMD-V) and the inner VM uses classic software virtualization" - yet you're looking for hardware virtualisation support inside the VM!

As it happens this document is out of date and ESXi 4.x does let you do this.

share|improve this answer
add comment

You need to have Intel-VT or AMD-V enabled in your host's BIOS. It's usually under processor or advanced options.

share|improve this answer
    
My host has Intel-VT support, but I can't enable inside VMware VMs, so I can't use KVM or HVM.. –  santisaez Nov 5 '10 at 14:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.