This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- make sure sriov is enabled in your motherboard bios | |
- don't use the nvidia gpu as a display (i use asrock rack boards and the crappy on board graphics for local display, which i actually don't use unless there's a problem). | |
- install nvidia drivers on the host: ./NVIDIA-Linux-x86_64-xxx.xxx.run | |
- blacklist nvidia and nouvaeu kernel drivers on the host, reboot | |
- pass the devices through to the LXC before installing drivers, details below (prob doesn't matter, but i do it in this order) | |
- install THE SAME nvidia drivers on the LXC: ./NVIDIA-Linux-x86_64-xxx.xxx.run --no-kernel-module | |
below is an example with 4 gpus | |
find the device info you'll need for passthrough: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php app/console doctrine:mapping:convert --namespace="MySuper\DuperBundle\Entity\MyEntity" yaml src/MySuper/DuperBundle/Resources/config/doctrine | |
That command will convert the annotation file into yaml format into src/MySuper/DuperBundle/Resources/config/doctrine as MySuper.DuperBundle.Entity.MyEntity.orm.yml |