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:
parent
9fd0ca6d9d
commit
1089c6346d
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user