xenserver NIC (네트워크 카드) pass-through 하기
작성자 : 서진우 (alang@clunix.com)
# lspci 로 NIC의 PCI ID 확인
06:00.0
# vi /boot/extlinux.conf 에 pciback.hide=(06:00.0) 설정 추가
label xe
# XenServer
kernel mboot.c32
append /boot/xen.gz mem=4096G dom0_max_vcpus=6 dom0_mem=4096M,max:4096M watchdog_timeout=300 lowmem_emergency_pool=1M crashkernel=64M@32M cpuid_mask_xsave_eax=0 console=vga vga=mode-0x0311 pciback.hide=(06:00.0) — /boot/vmlinuz-2.6-xen root=LABEL=root-spyxbkgu ro xencons=hvc console=hvc0 console=tty0 quiet vga=785 splash vmalloc=300M — /boot/initrd-2.6-xen.img
# extlinux -i /boot 실행
reboot
xl pci-list-assignable-devices
# xe vm-list 로 nic-pt 를 적용할 vm 의 uuid 확인
# xe vm-param-set other-config:pci=0/0000:06:00.0 uuid=<vm_uuid>
nic-pt 할 device 가 여러개 일 경우 extlinux.conf 에 pciback.hide=(06:00.0)(01:00.0)..
이런 식으로
# xe vm-param-set other-config:pci=0/0000:06:00.0,0/0000:01:00.0 uuid=.
7 Responses
2succulent
1deviation
beautiful music
beautiful music
… [Trackback]
[…] Information to that Topic: nblog.syszone.co.kr/archives/8958 […]
… [Trackback]
[…] Read More on that Topic: nblog.syszone.co.kr/archives/8958 […]
… [Trackback]
[…] Info to that Topic: nblog.syszone.co.kr/archives/8958 […]
… [Trackback]
[…] Here you can find 37560 additional Information on that Topic: nblog.syszone.co.kr/archives/8958 […]