Hi!
I would like to pass my Nvidia GPU to a KVM. I have a Linux MInt VM with SeaBIOS set up. My config file looks like this:
bootdisk: scsi0
cores: 8
ide2: local:iso/linuxmint-18.3-cinnamon-64bit.iso,media=cdrom
machine: q35
memory: 8192
name: TrainingsVM
net0: virtio=76:13:2D:21:2D:C9,bridge=vmbr1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-1,cache=writethrough,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=1105d2f0-54f2-4590-bc02-1fbb5aa426a3
sockets: 1
machine: q35
hostpci0: 03:00,pcie=1,x-vga=on
and my vfio.conf file looks like this:
options vfio-pci ids=10de:1b06,10de:10ef
and the command lspci -n -s 03:00 gives me this output:
03:00.0 0300: 10de:1b06 (rev a1)
03:00.1 0403: 10de:10ef (rev a1)
This is my graphics card:
03:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)
03:00.1 Audio device: NVIDIA Corporation Device 10ef (rev a1)
As soon as the line hostpci0: 03:00,pcie=1,x-vga=on is in the config file, my VM cannot start. Can anyone help me?
Thanks a lot.
Cheers
I would like to pass my Nvidia GPU to a KVM. I have a Linux MInt VM with SeaBIOS set up. My config file looks like this:
bootdisk: scsi0
cores: 8
ide2: local:iso/linuxmint-18.3-cinnamon-64bit.iso,media=cdrom
machine: q35
memory: 8192
name: TrainingsVM
net0: virtio=76:13:2D:21:2D:C9,bridge=vmbr1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-1,cache=writethrough,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=1105d2f0-54f2-4590-bc02-1fbb5aa426a3
sockets: 1
machine: q35
hostpci0: 03:00,pcie=1,x-vga=on
and my vfio.conf file looks like this:
options vfio-pci ids=10de:1b06,10de:10ef
and the command lspci -n -s 03:00 gives me this output:
03:00.0 0300: 10de:1b06 (rev a1)
03:00.1 0403: 10de:10ef (rev a1)
This is my graphics card:
03:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)
03:00.1 Audio device: NVIDIA Corporation Device 10ef (rev a1)
As soon as the line hostpci0: 03:00,pcie=1,x-vga=on is in the config file, my VM cannot start. Can anyone help me?
Thanks a lot.
Cheers