From 5dfa16550eeac5d64095691d51e76ba3b7d2dc21 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sat, 14 Mar 2009 00:14:29 +0000 Subject: [PATCH] -Add tablet device to guests for better wvid git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2892 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 ee25da161..ba33d4c07 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -252,6 +252,8 @@ sub build_xmldesc { $xtree{features}->{content}="\n"; $xtree{devices}->{disk}=build_diskstruct(); $xtree{devices}->{interface}=build_nicstruct($node); + $xtree{devices}->{input}->{type}='tablet'; + $xtree{devices}->{input}->{bus}='usb'; $xtree{devices}->{graphics}->{type}='vnc'; $xtree{devices}->{console}->{type}='pty'; $xtree{devices}->{console}->{target}->{port}='1';