{"id":183477,"date":"2026-09-26T16:53:23","date_gmt":"2026-09-26T14:53:23","guid":{"rendered":"https:\/\/prohoster.info\/blog\/news\/virtio-nvgpu-modul-dlya-predostavleniya-dostupa-k-gpu-nvidia-iz-virtualnyh-mashin-kvm"},"modified":"2026-09-26T16:53:28","modified_gmt":"2026-09-26T14:53:28","slug":"virtio-nvgpu-module-for-accessing-nvidia-gpus-from-kvm-virtual-machines","status":"publish","type":"post","link":"https:\/\/prohoster.info\/de\/blog\/news\/virtio-nvgpu-module-for-accessing-nvidia-gpus-from-kvm-virtual-machines","title":{"rendered":"virtio-nvgpu \u2014 ein Modul zur Bereitstellung des Zugangs zu NVIDIA-GPUs aus KVM-VMs","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Das virtio-nvgpu-Projekt entwickelt ein virtio-Ger\u00e4t, das den Zugriff auf NVIDIA-GPUs aus Gastsystemen, die unter dem Hypervisor KVM betrieben werden, mit minimalem Leistungsverlust erm\u00f6glicht. Es umfasst ein Kernel-Modul, das im Gastsystem geladen wird, und ein virtio-Ger\u00e4t, das auf der Host-Seite ausgef\u00fchrt wird. Der Code des Kernel-Moduls ist in C geschrieben und unter der GPLv2-Lizenz lizenziert, w\u00e4hrend der Code des virtio-Ger\u00e4ts in Rust geschrieben und unter der Apache 2.0-Lizenz lizenziert ist.    <\/p>\n<p>Laut Einsch\u00e4tzung der Entwickler \u00fcberschreitet der Leistungsverlust beim Zugriff auf die GPU 2% nicht. Die hohe Geschwindigkeit wird durch die Umleitung von ioctl-Aufrufen an den nativen NVIDIA-Treiber und die Arbeit auf der ABI-Ebene des NVIDIA-Treibers erreicht, ohne Anfragen auf API-Ebene zu \u00fcbersetzen. Auf der Seite des Gastsystems kommen die Standardbibliotheken und hochrangigen NVIDIA-Treiber, die im Benutzermodus arbeiten, zum Einsatz.     <\/p>\n<p>Im Gastbetriebssystem wird ein Kernelmodul geladen, das die Ger\u00e4te-Dateien \/dev\/nvidiactl, \/dev\/nvidia0\u2026N, \/dev\/nvidia-uvm bereitstellt und ioctl()- und mmap()-Aufrufe \u00fcber eine Virtqueue an den Handler im Host-Umfeld weiterleitet, der sie an den NVIDIA-Treiber des Hosts \u00fcbermittelt. Um Kontextwechsel zwischen dem Host-System und der virtuellen Maschine zu vermeiden, werden die Befehls-Puffer (mmap) in den gemeinsam genutzten Speicher, der f\u00fcr das Host-Umfeld und die GPU zug\u00e4nglich ist, gespiegelt.      <\/p>\n<p>Im Gegensatz zur exklusiven Weiterleitung des Zugriffs auf die GPU (VFIO Passthrough) erm\u00f6glicht das virtio-nvgpu-Projekt den gemeinsamen Zugriff auf eine GPU von mehreren <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/de\/vps\/\"   title=\"virtuelle Maschinen\" data-wpil-keyword-link=\"linked\">virtuelle Maschinen<\/a>, w\u00e4hrend es sich im Unterschied zu virtio-gpu (Venus, VirGL) \u00fcber die ABI-Umleitung an den NVIDIA-Treiber und nicht auf der Ebene der \u00dcbersetzung von Grafik-APIs wie Vulkan und OpenGL arbeitet. Nachteile von virtio-nvgpu sind das Fehlen einer vollst\u00e4ndigen Isolierung auf Basis von IOMMU (Gastsysteme arbeiten \u00fcber den Host-NVIDIA-Treiber und sind lediglich auf die Filterung von ioctl-Aufrufen beschr\u00e4nkt) und die Bindung an die ABI der NVIDIA-Treiber (ABI \u00e4ndert sich bei jeder Version und erfordert eine Anpassung von virtio-nvgpu).    <\/p>\n<p>Die M\u00f6glichkeiten von virtio-nvgpu sind ausreichend f\u00fcr Rendering, Video-Encoding und Berechnungen mit den APIs Vulkan, OpenGL, NVENC und CUDA. Als Hauptanwendungsbereich werden Cloud-Gaming-Dienste oder virtuelle Arbeitspl\u00e4tze genannt, in denen ein Spiel oder eine grafische Anwendung gestartet wird. <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/de\/vps\/abuzoustojchivye-vps\/\"   title=\"virtuellen Maschine\" data-wpil-keyword-link=\"linked\">virtuellen Maschine<\/a>, in dem das Rendering, die Hardwarekodierung des Ergebnisses mit NVENC und die \u00dcbertragung des Outputs an den entfernten Benutzer in Form eines komprimierten Video-Streams erfolgen.<br \/>\n<br \/>Quelle: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=66344\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0435\u043a\u0442 virtio-nvgpu \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 virtio-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a GPU NVIDIA \u0438\u0437 \u0433\u043e\u0441\u0442\u0435\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c, \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430 KVM, \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043e\u0442\u0435\u0440\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0412 \u0441\u043e\u0441\u0442\u0430\u0432 \u0432\u0445\u043e\u0434\u0438\u0442 \u043c\u043e\u0434\u0443\u043b\u044c \u044f\u0434\u0440\u0430, \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0439 \u0432 \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0438 virtio-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0435 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0445\u043e\u0441\u0442-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f. \u041a\u043e\u0434 \u043c\u043e\u0434\u0443\u043b\u044f \u044f\u0434\u0440\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0421\u0438 \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 GPLv2, \u0430 \u043a\u043e\u0434 virtio-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Rust [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-183477","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u043e\u0435\u043a\u0442 virtio-nvgpu \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 virtio-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a GPU NVIDIA \u0438\u0437 \u0433\u043e\u0441\u0442\u0435\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c, \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430 KVM, \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043e\u0442\u0435\u0440\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexander Kovalev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/de\/blog\/news\/virtio-nvgpu-module-for-accessing-nvidia-gpus-from-kvm-virtual-machines\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47virtio-nvgpu \u2014 \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a GPU NVIDIA \u0438\u0437 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d KVM | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u043e\u0435\u043a\u0442 virtio-nvgpu \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 virtio-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a GPU NVIDIA \u0438\u0437 \u0433\u043e\u0441\u0442\u0435\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c, \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430 KVM, \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043e\u0442\u0435\u0440\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/de\/blog\/news\/virtio-nvgpu-module-for-accessing-nvidia-gpus-from-kvm-virtual-machines\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-09-26T14:53:23+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-09-26T14:53:28+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47virtio-nvgpu \u2014 Modul f\u00fcr den Zugriff auf die NVIDIA-GPU aus KVM-VMs | ProHoster","description":"Das Projekt virtio-nvgpu entwickelt ein virtio-Ger\u00e4t, das den Zugriff auf die NVIDIA-GPU aus Gastsystemen erm\u00f6glicht, die unter dem KVM-Hypervisor laufen, mit minimalen Leistungsverlusten.","canonical_url":"https:\/\/prohoster.info\/de\/blog\/news\/virtio-nvgpu-module-for-accessing-nvidia-gpus-from-kvm-virtual-machines","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"de_DE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47virtio-nvgpu \u2014 \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a GPU NVIDIA \u0438\u0437 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d KVM | ProHoster","og:description":"\u041f\u0440\u043e\u0435\u043a\u0442 virtio-nvgpu \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 virtio-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a GPU NVIDIA \u0438\u0437 \u0433\u043e\u0441\u0442\u0435\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c, \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430 KVM, \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043e\u0442\u0435\u0440\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.","og:url":"https:\/\/prohoster.info\/de\/blog\/news\/virtio-nvgpu-module-for-accessing-nvidia-gpus-from-kvm-virtual-machines","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-09-26T14:53:23+00:00","article:modified_time":"2026-09-26T14:53:28+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/183477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/comments?post=183477"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/183477\/revisions"}],"predecessor-version":[{"id":183478,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/183477\/revisions\/183478"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media?parent=183477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/categories?post=183477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/tags?post=183477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}