F #1688: Changed cpu mode and fallback (#2057)

(cherry picked from commit df2b3cc0a2)
This commit is contained in:
juanmont authored and Ruben S. Montero committed 2018-05-10 16:17:24 +02:00
1 parent 94351214dc
commit 5208a2a7a4
1 file changed
+2 -2
+2 -2
View File
@@ -414,9 +414,9 @@ int LibVirtDriver::deployment_description_kvm(
{
file << "\t<cpu mode=" << one_util::escape_xml_attr(cpu_mode) << ">\n";
if ( cpu_mode == "host-model" )
if ( cpu_mode == "custom" )
{
file << "\t\t<model fallback='allow'>" << one_util::escape_xml(cpu_model)
file << "\t\t<model fallback='forbid'>" << one_util::escape_xml(cpu_model)
<< "</model>\n";
}