diff --git a/src/vmm/LibVirtDriver.cc b/src/vmm/LibVirtDriver.cc index af0d9350e2..c55468defd 100644 --- a/src/vmm/LibVirtDriver.cc +++ b/src/vmm/LibVirtDriver.cc @@ -287,13 +287,19 @@ int LibVirtDriver::deployment_description( if ( type == "BLOCK" ) { file << "\t\t" << endl - << "\t\t\tget_remote_dir() << "/disk." + << i << "'/>" << endl; + } + else if ( type == "CDROM" ) + { + file << "\t\t" << endl + << "\t\t\t" << endl; } else { file << "\t\t" << endl - << "\t\t\tget_remote_dir() << "/disk." << i << "'/>" << endl; } @@ -501,17 +507,17 @@ int LibVirtDriver::deployment_description( acpi = features->vector_value("ACPI"); } } - + if ( pae.empty() ) { get_default("FEATURES", "PAE", pae); } - + if ( acpi.empty() ) { get_default("FEATURES", "ACPI", acpi); } - + if( acpi == "yes" || pae == "yes" ) { file << "\t" << endl;