Update kvm plugin to handle issues with later spice protocol and video ram
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -642,7 +642,8 @@ sub build_xmldesc { | ||||
|     if (defined ($confdata->{vm}->{$node}->[0]->{vidmodel})) { | ||||
|       my $model = $confdata->{vm}->{$node}->[0]->{vidmodel}; | ||||
|       my $vram = '8192'; | ||||
|       $xtree{devices}->{video}= [ { 'content'=>'','model'=> {type=>$model,vram=>8192}}]; | ||||
|       if ($model eq 'qxl') { $vram = 65536; } #surprise, spice blows up with less vram than this after version 0.6 and up | ||||
|       $xtree{devices}->{video}= [ { 'content'=>'','model'=> {type=>$model,vram=>$vram}}]; | ||||
|     } else { | ||||
|       $xtree{devices}->{video}= [ { 'content'=>'','model'=> {type=>'vga',vram=>8192}}]; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user