码迷,mamicode.com
首页 > 其他好文 > 详细

kvm-GT

时间:2016-04-13 13:15:07      阅读:377      评论:0      收藏:0      [点我收藏+]

标签:

REF:

http://los-vmm.sc.intel.com/wiki/How-to-setup-kvmgt
http://xenvgt.sh.intel.com/image/bdw-h/

Host display backgroud

$ grep i915.enable_vgtbuffer=1 /boot/grub/grub.cfg
linux /boot/vmlinuz-4.3.0-rc6-vgt+ root=UUID=d686a051-44ac-4e28-ba33-c715d9944852 ro intel_iommu=igfx_off i915.hvm_boot_foreground=0 i915.enable_vgtbuffer=1

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.3.0-rc6-vgt+ root=UUID=d686a051-44ac-4e28-ba33-c715d9944852 ro intel_iommu=igfx_off i915.hvm_boot_foreground=0 i915.enable_vgtbuffer=1

 

# echo 0 > /sys/kernel/vgt/control/foreground_vm

The main qemu code:

qemu-igvtg/hw/display/vgt_vga.c

kernal code:

drivers/gpu/drm/i915/i915_gem_vgtbuffer.c

 

qemu can use flink or dambuffer to get framebuffer. 

kvm-GT

标签:

原文地址:http://www.cnblogs.com/shaohef/p/5386660.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!