Hyper-V guest services: Difference between revisions

From Alpine Linux
m (add recommended settings by microsoft)
(Comment added by user Thirdwheel on 21 November 2024‎ moved from Include:Setup-desktop page)
Line 1: Line 1:
=How to install Hyper-V guest services=
== How to install Hyper-V guest services ==  


Hyper-V tools is nicely packaged, so the install is simple, as follows:
Hyper-V tools is nicely packaged, so the install is simple, as follows:
Line 19: Line 19:
{{cmd|New-VHD -Path C:\MyVHDs\test.vhdx -SizeBytes 127GB -Dynamic -BlockSizeBytes 1MB}}
{{cmd|New-VHD -Path C:\MyVHDs\test.vhdx -SizeBytes 127GB -Dynamic -BlockSizeBytes 1MB}}


* When using using Hyper-V, if Xorg refuses to start, blacklist the <code>hyperv_drm</code> module by adding it to the <code>/etc/modprobe.d/blacklist.conf</code> file.
[[category:Virtualization]]
[[category:Virtualization]]

Revision as of 05:32, 22 November 2024

How to install Hyper-V guest services

Hyper-V tools is nicely packaged, so the install is simple, as follows:

apk add hvtools

Then enable the services

rc-service hv_fcopy_daemon start

rc-service hv_kvp_daemon start

rc-service hv_vss_daemon start

Then to ensure these services start on boot

rc-update add hv_fcopy_daemon

rc-update add hv_kvp_daemon

rc-update add hv_vss_daemon

Hyper-V Settings

New-VHD -Path C:\MyVHDs\test.vhdx -SizeBytes 127GB -Dynamic -BlockSizeBytes 1MB

  • When using using Hyper-V, if Xorg refuses to start, blacklist the hyperv_drm module by adding it to the /etc/modprobe.d/blacklist.conf file.