1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-15 05:57:23 +03:00

remove-xen: Do not load VMware drivers and imported actions

This commit is contained in:
Ruben S. Montero 2016-04-07 11:18:32 +02:00
parent 67ba59ada1
commit baa5fb814f
2 changed files with 1 additions and 7 deletions

View File

@ -2574,11 +2574,6 @@ int VirtualMachineManager::load_mads(int uid)
vmm_driver = new LibVirtDriver(uid, vattr->value(),
(uid != 0),vmpool,"qemu");
}
else if ( type == "VMWARE" )
{
vmm_driver = new LibVirtDriver(uid, vattr->value(),
(uid != 0),vmpool,"vmware");
}
else if ( type == "XML" )
{
vmm_driver = new XMLDriver(uid, vattr->value(),(uid != 0),vmpool);

View File

@ -99,8 +99,7 @@ VirtualMachineManagerDriver::VirtualMachineManagerDriver(
if (it != attrs.end())
{
if ( it->second == "kvm" || it->second == "xen3" ||
it->second == "xen" || it->second == "vmware" )
if ( it->second == "kvm" || it->second == "xen" )
{
action_defaults = imported_actions_default;
}