记录日常工作关于系统运维,虚拟化云计算,数据库,网络安全等各方面问题。

VGAPassthrough: success in host F19, guest Windows7
GPUPassthrough: success in Fedora-Rawhide

HOST:
CPU: Core i5 3470
GPU: ATI HD Radeon 7850
OS: Fedora-Rawhide
QEMU: qemu-1.5.1
kvm-vgapassthrough
So, here’s the steps

0. Enable the mainboard VxT, iommu and alter the video device to Intel HD

1. See what we have got now.

We have output below

You can see the pci bus and vendor.

2. Modify the kernel parameter, morprobe.d and libvirt.conf

Add follow parameters to grub.conf

NOTE: If you have got an AMD cpu, please replace “interl_iommu=on” with “iommu=pt iommu=1”
Add modprobe.conf to /etc/modprobe.d/ with this content:

change the following options in /etc/libvirt/qemu.conf:

Reboot.

3. Using scripts below

Version 1: VFIO-Passthrough

File: vfio-bind

Bind the device

Start VM

Version 2: PCI-Passthrough

Bind device

Start VM



转载请标明出处【VGAPassthrough: success in host F19,guest Windows7/KVM GPU直通】。

《www.micoder.cc》 虚拟化云计算,系统运维,安全技术服务.

网站已经关闭评论