<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Qemu on s0racat&#39;s blog</title>
    <link>https://s0racat.github.io/tags/qemu/</link>
    <description>Recent content in Qemu on s0racat&#39;s blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 14 May 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://s0racat.github.io/tags/qemu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Intel GVT-g</title>
      <link>https://s0racat.github.io/posts/2021-05-14-intel-gvt-g/</link>
      <pubDate>Fri, 14 May 2021 00:00:00 +0000</pubDate>
      
      <guid>https://s0racat.github.io/posts/2021-05-14-intel-gvt-g/</guid>
      <description>前提条件 linux &amp;gt;= 4.16
qemu &amp;gt;= 2.12
設定 /etc/modprobe.d/i915.conf
options i915 ... enable_gvt=1 enable_guc=0 ... /etc/modules-load.d/intel_gvt-g.conf
kvmgt vfio-iommu-type1 vfio-mdev /etc/default/grub
GRUB_CMDLINE_LINUX=&amp;#34;... intel_iommu=on ...&amp;#34; sudo grub-mkconfig -o /boot/grub/grub.cfg sudo reboot lspci -Dnn|grep VGA GVT_PCI=0000\:00\:02.0 ls /sys/bus/pci/devices/$GVT_PCI/mdev_supported_types/ GVT_GUID=$(uuidgen) GVT_PCI=0000\:00\:02.0 GVT_TYPE=i915-GVTg_V5_4 echo &amp;#34;$GVT_GUID&amp;#34;|sudo tee &amp;#34;/sys/bus/pci/devices/$GVT_PCI/mdev_supported_types/$GVT_TYPE/create&amp;#34; qemu-system-x86_64 \ -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/$GVT_GUID 参考 https://kagasu.hatenablog.com/entry/2021/01/05/201126
https://wiki.archlinux.org/title/Intel_GVT-g</description>
    </item>
    
  </channel>
</rss>
