[ovirt-users] Re: vender_id syntax UserDefinedVMProperties

2019-03-20 Thread Darin Schmidt
I was hoping someone would know how to because I don't know python On Wed, Mar 20, 2019, 12:52 AM Strahil wrote: > Can't you make the script check if it windows or Linux and skip if it's > Linux? > > Best Regards, > Strahil Nikolov > On Mar 19, 2019 23:02, Darin Schmidt wrote: > > You also

[ovirt-users] Re: vender_id syntax UserDefinedVMProperties

2019-03-19 Thread Strahil
Can't you make the script check if it windows or Linux and skip if it's Linux? Best Regards, Strahil NikolovOn Mar 19, 2019 23:02, Darin Schmidt wrote: > > You also need to have this code hooked in: > cd /usr/libexec/vdsm/hooks/before_vm_start/ > viĀ 99_mask_kvm > > #!/usr/bin/python2 > > import

[ovirt-users] Re: vender_id syntax UserDefinedVMProperties

2019-03-19 Thread Darin Schmidt
You also need to have this code hooked in: cd /usr/libexec/vdsm/hooks/before_vm_start/ vi 99_mask_kvm #!/usr/bin/python2 import hooking domxml = hooking.read_domxml() hyperv = domxml.getElementsByTagName('hyperv')[0] smm = domxml.createElement('vendor_id') smm.setAttribute('state', 'on')

[ovirt-users] Re: vender_id syntax UserDefinedVMProperties

2019-03-18 Thread Darin Schmidt
Seems that the system has to be running with bios Q35 UEFI. Standard bios does not work. System is operational now. On Mon, Mar 18, 2019, 6:30 AM Darin Schmidt wrote: > Still no luck getting the gtx 1080 to enable inside the VM. I see the code > is being generated in the xml with the hook. But

[ovirt-users] Re: vender_id syntax UserDefinedVMProperties

2019-03-18 Thread Darin Schmidt
Still no luck getting the gtx 1080 to enable inside the VM. I see the code is being generated in the xml with the hook. But I still get error code 43. Someone mentioned doing it with eufi bios and that worked for them. So when I get back from work today, perhaps ill give that a try. On Mon, Mar

[ovirt-users] Re: vender_id syntax UserDefinedVMProperties

2019-03-18 Thread Darin Schmidt
I have gotten the system to see the card, its in device manager. The problem seems to be that I cannot use it in the VM because from what I have been finding out is that it gets and error code 43. Nvidia drivers disable the card if it detects that its being used in a VM. I have found some code to

[ovirt-users] Re: vender_id syntax UserDefinedVMProperties

2019-03-18 Thread Nisim Simsolo
Hi Vendor ID of Nvidia is usually 10de. You can locate 'vendor ID:product ID' by running lspci command, for example: [root@intel-vfio ~]# lspci -Dnn | grep -i nvidia :03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104GL [Quadro K4200] [10de:11b4] (rev a1) :03:00.1 Audio