Personal tools
You are here: Home Linux HyperV CentOS v7.1 devices on HyperV

CentOS v7.1 devices on HyperV

Notes on installing the HyperV services on CentOS v7.x and dmesg info that is present when running under this environment.

 

Install daemons

# yum install hyperv-daemons
# systemctl enable hypervfcopyd
# systemctl start hypervkvpd hypervvssd hypervfcopyd

 

Info

virt-what

# virt-what
hyperv

dmesg

# dmesg | egrep -i 'hyp|hv_|storv'
[    0.000000] Hypervisor detected: Microsoft HyperV
[    0.000000] HyperV: features 0xe7f, hints 0x2c
[    0.000000] HyperV: LAPIC Timer Frequency: 0x30d40
[    0.417197] Switching to clocksource hyperv_clocksource
[    1.451542] hv_vmbus: Hyper-V Host Build:9200-6.2-16-0.16547; Vmbus version:2.4
[    1.498251] ata_piix 0000:00:07.1: Hyper-V Virtual Machine detected, ATA device ignore set
[    6.511797] hv_vmbus: registering driver hid_hyperv
[    6.518287] hv_vmbus: registering driver hv_storvsc
[    6.520021] hv_vmbus: registering driver hv_netvsc
[    6.521141] scsi host2: storvsc_host_t
[    6.522871] scsi host3: storvsc_host_t
[    6.529691] scsi host4: storvsc_host_t
[    6.530912] hv_netvsc: hv_netvsc channel opened successfully
[    8.201110] hv_netvsc vmbus_0_12: Send section size: 6144, Section count:2560
[    8.201312] hv_netvsc vmbus_0_12: Device MAC 00:15:5d:01:36:08 link state up
[   29.502462] hv_vmbus: registering driver hyperv_fb
[   29.505641] hyperv_fb: Screen resolution: 1152x864, Color depth: 32
[   29.885595] hv_vmbus: registering driver hyperv_keyboard
[   29.893298] hv_utils: Registering HyperV Utility Driver
[   29.893301] hv_vmbus: registering driver hv_util

modules 

# lsmod | grep hv
hv_utils               19040  0
hv_netvsc              35452  0
hv_storvsc             21927  2
hv_vmbus              265594  6 hyperv_keyboard,hv_netvsc,hid_hyperv,hv_utils,hyperv_fb,hv_storvsc
 

Links

 

Appendices

 
# yum install hyperv-daemons
Loaded plugins: fastestmirror
base                                                            | 3.6 kB  00:00:00
extras                                                          | 3.4 kB  00:00:00
updates                                                         | 3.4 kB  00:00:00
Loading mirror speeds from cached hostfile
 * base: mirror.xnet.co.nz
 * extras: mirror.xnet.co.nz
 * updates: mirror.xnet.co.nz
Resolving Dependencies
--> Running transaction check
---> Package hyperv-daemons.x86_64 0:0-0.25.20141008git.el7 will be installed
--> Processing Dependency: hypervvssd = 0-0.25.20141008git.el7 for package: hyperv-daemons-0-0.25.20141008git.el7.x86_64
--> Processing Dependency: hypervkvpd = 0-0.25.20141008git.el7 for package: hyperv-daemons-0-0.25.20141008git.el7.x86_64
--> Processing Dependency: hypervfcopyd = 0-0.25.20141008git.el7 for package: hyperv-daemons-0-0.25.20141008git.el7.x86_64
--> Running transaction check
---> Package hypervfcopyd.x86_64 0:0-0.25.20141008git.el7 will be installed
--> Processing Dependency: hyperv-daemons-license = 0-0.25.20141008git.el7 for package: hypervfcopyd-0-0.25.20141008git.el7.x86_64
---> Package hypervkvpd.x86_64 0:0-0.25.20141008git.el7 will be installed
---> Package hypervvssd.x86_64 0:0-0.25.20141008git.el7 will be installed
--> Running transaction check
---> Package hyperv-daemons-license.noarch 0:0-0.25.20141008git.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
 Package                     Arch        Version                       Repository
                                                                                  Size
=======================================================================================
Installing:
 hyperv-daemons              x86_64      0-0.25.20141008git.el7        base      3.9 k
Installing for dependencies:
 hyperv-daemons-license      noarch      0-0.25.20141008git.el7        base       11 k
 hypervfcopyd                x86_64      0-0.25.20141008git.el7        base      9.5 k
 hypervkvpd                  x86_64      0-0.25.20141008git.el7        base       19 k
 hypervvssd                  x86_64      0-0.25.20141008git.el7        base       10 k

Transaction Summary
=======================================================================================
Install  1 Package (+4 Dependent packages)

Total download size: 53 k
Installed size: 71 k
Is this ok [y/d/N]:
 
Document Actions