From a5182f58396c4199e13dead8ae7e96c89fbceba2 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 17 May 2010 19:04:36 +0000 Subject: [PATCH] -Have KVM guests default to the more capable 'vga' adapter rather than cirrus git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/kvm.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index c04e5fa52..3c2474c1e 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -355,6 +355,8 @@ sub build_xmldesc { $xtree{features}->{content}="\n"; $xtree{devices}->{disk}=build_diskstruct($cdloc); $xtree{devices}->{interface}=build_nicstruct($node); + #use content to force xml simple to not make model the 'name' of video + $xtree{devices}->{video}= [ { 'content'=>'','model'=> {type=>'vga',vram=>8192}}]; $xtree{devices}->{input}->{type}='tablet'; $xtree{devices}->{input}->{bus}='usb'; $xtree{devices}->{graphics}->{type}='vnc';