kvm vt-d passthrough

페이지 정보

작성자 조희승 댓글 0건 조회 9,865회 작성일 14-07-05 01:27

본문

http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM

http://docs.fedoraproject.org/en-US/Fedora/13/html/Virtualization_Guide/chap-Virtualization-PCI_passthrough.html

 

 

 

 

virsh # nodedev-dettach pci_0000_01_00_0
Device pci_0000_01_00_0 dettached

virsh # attach-device VM1 pci_add.xml
Device attached successfully

$ cat pci_add.xml
<hostdev mode='subsystem' type='pci' managed='yes'>
    <source>
    <address domain='0x000' bus='0x01' slot='0x00' function='0x0'/>
    </source>
</hostdev>



Resolved the issue. PCI hotplug needs couple of drivers:
acpiphp
pci_hotplug
Both of these drives are needed in Guest OS(and not in host).

 

 

grub parameter로
kvm.allow_unsafe_assigned_interrupts=1
추가해야하는 경우도 있음


nvidia driver가 잡고 있으면 제거 해야 함.

댓글목록

등록된 댓글이 없습니다.