1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

feature #3765: added spice support for xen 4.4

This commit is contained in:
Rolandas Naujikas 2015-05-11 12:58:28 +02:00 committed by Javi Fontan
parent 9fd0ca6d9d
commit 1089c6346d

View File

@ -581,6 +581,29 @@ int XenDriver::deployment_description(
file <<"']" << endl;
}
}
else if ( is_hvm && (type == "spice" || type == "SPICE") )
{
file << "spice = '1'" << endl;
if ( !listen.empty() )
{
file << "spicehost = '" << listen << "'" << endl;
}
if ( !port.empty() )
{
file << "spiceport = '" << port << "'" << endl;
}
if ( !passwd.empty() )
{
file << "spicepasswd = '" << passwd << "'" << endl;
}
else
{
file << "spicedisable_ticketing = '1'" << endl;
}
}
else
{
vm->log("VMM", Log::WARNING,