nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=”quiet i915.force_probe=7d55 intel_iommu=on iommu=pt”
echo -e "vfio\nvfio_iommu_type1\nvfio_pci\nvfio_virqfd" >> /etc/modules
update-grub
update-initramfs -u -k all
reboot
cd /vol1/vm/pool
qemu-img convert -O qcow2 rr.img op.qcow2
chown libvirt-qemu:libvirt-qemu e5f7629c-433e-4203-bf0f-b88bfd16f582-82pz
https://archive.synology.cn/download/Os/DSM/7.2-64570-1-NanoPacked
ls /dev/disk/by-id/
cd /etc/libvirt/qemu
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/disk/by-id/ata-YSSDJQB-512GSQ_2K23D5707409794'/>
<target dev='sdz' bus='sata' rotation_rate='1'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
</disk>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/disk/by-id/ata-INTEL_SSDSC2KW256G8_PHLA752301KA256CGN'/>
<target dev='sdx' bus='sata' rotation_rate='1'/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容