On 07/27/2016 07:31 PM, Rick Wagner wrote:
Hello DevTools SMEs,

We have a customer with a failing CDK installation. They appear (we are asking for validation) to be running RHEL 7.2 under QEMU.

When they try 'vagrant up', they get the following:
"Error while creating domain: Error saving the server: Call to virDomainDefineXML failed: invalid argument: could not find capabilities for domaintype=kvm"

Google suggests this error is telling us kvm isn't recognized as a supported feature of the guest o/s. (There are a couple of suggested workarounds, with mixed results.)

Before we start poking at it in the customer's environment, we'd like to ask if we have encountered this before ourselves (and if we have a known good remedy).

Any hard-won experiences to share?
Hi,

I have seen such errors, but do not exactly remember the reason. But I am fairly sure that this is caused because of incorrect KVM configuration. Some simple things we should check in the setup e.g.

1. Check if the System supports KVM.

 $grep 'vmx|svm' /proc/cpuinfo

2. Can you run any VM on that machine using KVM?

3. Check if IntelVT or AMD_V virtualization technology is enabled on that machine. If not please enable it in the BIOS [1]


[1] https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/sect-Virtualization-Troubleshooting-Enabling_Intel_VT_and_AMD_V_virtualization_hardware_extensions_in_BIOS.html

Thanks,
Lala

Thanks,

Rick


_______________________________________________
Devtools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/devtools


_______________________________________________
Devtools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/devtools

Reply via email to