{"id":138,"date":"2025-09-27T13:49:51","date_gmt":"2025-09-27T10:49:51","guid":{"rendered":"http:\/\/192.168.40.2\/?p=138"},"modified":"2025-09-27T13:49:51","modified_gmt":"2025-09-27T10:49:51","slug":"gaming-on-hyper-v-hyper-v-gpu-sharing-made-easy","status":"publish","type":"post","link":"https:\/\/allogman.com\/?p=138","title":{"rendered":"Gaming on Hyper-V &#8212; Hyper-V GPU Sharing Made Easy"},"content":{"rendered":"\n<p>Works with 5090<\/p>\n\n\n\n<p>$vm = &#8220;youVMName&#8221;<\/p>\n\n\n\n<p>if (Get-VMGpuPartitionAdapter -VMName $vm -ErrorAction SilentlyContinue) {<br>Remove-VMGpuPartitionAdapter -VMName $vm<br>}<\/p>\n\n\n\n<p>Set-VM -GuestControlledCacheTypes $true -VMName $vm<br>Set-VM -LowMemoryMappedIoSpace 1Gb -VMName $vm<br>Set-VM -HighMemoryMappedIoSpace 32Gb -VMName $vm<\/p>\n\n\n\n<p>Add-VMGpuPartitionAdapter -VMName $vm<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"813\" height=\"364\" src=\"http:\/\/192.168.40.2\/wp-content\/uploads\/2025\/09\/image.png\" alt=\"\" class=\"wp-image-139\" srcset=\"https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image.png 813w, https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image-300x134.png 300w, https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image-768x344.png 768w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"806\" height=\"813\" src=\"http:\/\/192.168.40.2\/wp-content\/uploads\/2025\/09\/image-1.png\" alt=\"\" class=\"wp-image-140\" srcset=\"https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image-1.png 806w, https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image-1-297x300.png 297w, https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image-1-150x150.png 150w, https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image-1-768x775.png 768w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"556\" src=\"http:\/\/192.168.40.2\/wp-content\/uploads\/2025\/09\/image-2-1024x556.png\" alt=\"\" class=\"wp-image-141\" srcset=\"https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image-2-1024x556.png 1024w, https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image-2-300x163.png 300w, https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image-2-768x417.png 768w, https:\/\/allogman.com\/wp-content\/uploads\/2025\/09\/image-2.png 1117w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Source:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Gaming on Hyper-V -- Hyper-V GPU Sharing Made Easy\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/vlNAOr5Dsho?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.youtube.com\/@footprinttechnologies\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Works with 5090 $vm = &#8220;youVMName&#8221; if (Get-VMGpuPartitionAdapter -VMName $vm -ErrorAction SilentlyContinue) {Remove-VMGpuPartitionAdapter -VMName $vm} Set-VM -GuestControlledCacheTypes $true -VMName $vmSet-VM -LowMemoryMappedIoSpace 1Gb -VMName $vmSet-VM -HighMemoryMappedIoSpace 32Gb -VMName $vm Add-VMGpuPartitionAdapter -VMName<\/p>\n<p><a href=\"https:\/\/allogman.com\/?p=138\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\">Gaming on Hyper-V &#8212; Hyper-V GPU Sharing Made Easy<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-ai-and-gaming-system"],"_links":{"self":[{"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/allogman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=138"}],"version-history":[{"count":1,"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/posts\/138\/revisions\/142"}],"wp:attachment":[{"href":"https:\/\/allogman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/allogman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/allogman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}