Mile.HyperV
1.2.960
dotnet add package Mile.HyperV --version 1.2.960
NuGet\Install-Package Mile.HyperV -Version 1.2.960
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mile.HyperV" Version="1.2.960" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mile.HyperV" Version="1.2.960" />
<PackageReference Include="Mile.HyperV" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mile.HyperV --version 1.2.960
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mile.HyperV, 1.2.960"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Mile.HyperV@1.2.960
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mile.HyperV&version=1.2.960
#tool nuget:?package=Mile.HyperV&version=1.2.960
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Mile.HyperV
The lightweight library for Hyper-V guest interfaces.
Usage
Currently, include Mile.HyperV.*.h in Mile.HyperV folder which you actually
needed to your C/C++ projects.
Features
- Mile.HyperV.Portable.Types.h
- Only depend on Mile.Mobility.Portable.Types.h if available.
- Only depend on stdint.h if Mile.Mobility.Portable.Types.h if not available.
- Mile.HyperV.Guest.Interface.h
- Include Hyper-V related definitions from
https://github.com/microsoft/mu_msvm/tree/v26.0.3
- MsvmPkg\Include\Hv\HvStatus.h
- MsvmPkg\Include\Hv\HvGuest.h
- MsvmPkg\Include\Hv\HvGuestCpuid.h
- MsvmPkg\Include\Hv\HvGuestMsr.h
- MsvmPkg\Include\Hv\HvGuestSyntheticInterrupts.h
- MsvmPkg\Include\Hv\HvGuestHypercall.h
- Include Hyper-V related definitions from
https://github.com/microsoft/WSL/tree/697572d664c9371abbc53cab9cf7b4b32be1980e
- src\windows\inc\wdk.h
- Include Hyper-V related definitions from
https://github.com/microsoft/openvmm/tree/8289be0034e3e2dd3d53d8eedb995e6f9112281d
- vm\hv1\hvdef\src\lib.rs
- vm\hv1\hvdef\src\vbs.rs
- Include Hyper-V related definitions from
https://github.com/microsoft/mu_msvm/tree/v26.0.3
- Mile.HyperV.Guest.Protocols.h
- Include Hyper-V related definitions from
https://github.com/microsoft/mu_msvm/tree/v26.0.3
- MsvmPkg\MsvmPkg.dec
- MsvmPkg\Include\Vmbus\NtStatus.h
- MsvmPkg\Include\MsvmBase.h
- MsvmPkg\VmbusDxe\VmbusP.h
- MsvmPkg\VmbusDxe\ChannelMessages.h
- MsvmPkg\Include\Vmbus\VmbusPacketFormat.h
- MsvmPkg\VideoDxe\SynthVidProtocol.h
- MsvmPkg\VideoDxe\VramSize.h
- MsvmPkg\Include\Protocol\SynthKeyProtocol.h
- MsvmPkg\StorvscDxe\VstorageProtocol.h
- MsvmPkg\NetvscDxe\nvspprotocol.h
- MsvmPkg\NetvscDxe\rndis.h
- MsvmPkg\VpcivscDxe\wdm.h
- MsvmPkg\VpcivscDxe\VpciProtocol.h
- MsvmPkg\VpcivscDxe\PciBars.h
- MsvmPkg\Include\Protocol\VmbusFileSystem.h
- MsvmPkg\Include\BiosInterface.h
- MsvmPkg\MsvmPkgAARCH64.dsc
- MsvmPkg\MsvmPkgX64.dsc
- MsvmPkg\Include\BiosEventLogInterface.h
- MsvmPkg\Include\BiosBootLogInterface.h
- Include Hyper-V related definitions from
https://github.com/microsoft/openvmm/tree/8289be0034e3e2dd3d53d8eedb995e6f9112281d
- vm\devices\vmbus\vmbfs\src\protocol.rs
- vm\devices\vmbus\vmbus_ring\src\lib.rs
- vm\devices\vmbus\vmbus_core\src\protocol.rs
- vm\devices\hyperv_ic_protocol\src\lib.rs
- vm\devices\hyperv_ic_protocol\src\heartbeat.rs
- vm\devices\hyperv_ic_protocol\src\kvp.rs
- vm\devices\hyperv_ic_protocol\src\shutdown.rs
- vm\devices\hyperv_ic_protocol\src\timesync.rs
- vm\devices\hyperv_ic_protocol\src\vss.rs
- vm\devices\uidevices\src\video\protocol.rs
- vm\devices\uidevices\src\keyboard\protocol.rs
- vm\devices\uidevices\src\mouse\protocol.rs
- vm\devices\storage\storvsp_protocol\src\lib.rs
- vm\devices\net\netvsp\src\protocol.rs
- vm\devices\net\netvsp\src\rndisprot.rs
- vm\devices\pci\vpci_protocol\src\lib.rs
- Definitions conform with Windows 10 Build 14347's icsvc.dll
- Definitions conform with Windows 10 Build 14347's icsvcext.dll
- Definitions conform with Windows 10 Build 14347's HyperVideo.sys
- Definitions conform with Windows 10 Build 14347's VMBusHID.sys
- Definitions conform with Windows 10 Build 14347's netvsc.sys
- Include Hyper-V related definitions from
https://github.com/microsoft/mu_msvm/tree/v26.0.3
- Mile.HyperV.TLFS.h
- Definitions conform with Hypervisor Top Level Functional Specification 6.0b
- Include definitions from hvgdk.h from Windows Driver Kit version 7.1.0
- Include definitions from MIT-licensed Hyper-V headers from Microsoft mshv Linux kernel module
- Include definitions from gerhart01's archive of Hypervisor (Windows Drivers) documentation from Microsoft in 2013
- Include Hyper-V related definitions from https://github.com/rust-vmm/mshv
- Include Hyper-V related definitions from https://github.com/microsoft/igvm
- Include Hyper-V related definitions from symbols in Windows Driver Kit version 10.0.26063.0's Debuggers\ddk\samples\kdserial\lib\x64\kdhv.lib
- Include Hyper-V related definitions from symbols in Windows version 10.0.14393.0's urlmon.dll
- Include Hyper-V related definitions from symbols in Windows version 10.0.14347.0's ntoskrnl.exe
- Include Hyper-V related definitions from symbols in Windows version 10.0.26100.0's securekernel.exe (header dumped by Mezone)
- Mile.HyperV.Windows.VMBusPipe.h and Mile.HyperV.Windows.VMBusPipe.cpp
- Definitions conform with Windows 10 Build 19041's vmbuspipe.dll
- Include Hyper-V related definitions from symbols in Windows version 10.0.14347.0's vmbuspipe.dll
- Mile.HyperV.VMBus.h
- Definitions conform with Windows 10 Build 14347's VMBusHID.sys
- Definitions conform with Windows 10 Build 14347's netvsc.sys
- Definitions conform with Windows 10 Build 14347's fcvsc.sys
- Definitions conform with Windows 10 Build 14347's icsvc.dll
- Definitions conform with Windows 10 Build 14347's icsvcext.dll
- Definitions conform with Windows 10 Build 19041's rdpcorets.dll
- Definitions conform with Windows 10 Build 19041's vmuidevices.dll
- Definitions conform with Windows 10 Build 14347's ntoskrnl.exe
- Distributed under the MIT License
- Provide NuGet package.
NuGet Package Usage
How to enable the Windows specific wrappers in the property group.
<MileHyperVEnableWindowsPlatformSupport>true</MileHyperVEnableWindowsPlatformSupport>
Documents
Thanks
- Geoff Chappell, https://www.geoffchappell.com/ for researches hints
- Gerhart, https://github.com/gerhart01 for documentation archive
- Liu Wei, https://github.com/liuw for mshv existance hints
- Mezone, https://github.com/Mez0ne for revise hints
- Nuno Das Neves, https://github.com/NunoDasNeves for mshv implementation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| native | native is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.960 | 140 | 5/8/2026 |
| 1.2.943 | 150 | 4/21/2026 |
| 1.2.938 | 164 | 4/16/2026 |
| 1.2.907 | 218 | 3/16/2026 |
| 1.2.764 | 452 | 10/24/2025 |
| 1.2.730 | 559 | 9/18/2025 |
| 1.2.688 | 446 | 8/9/2025 |
| 1.1.635 | 441 | 6/17/2025 |
| 1.1.633 | 457 | 6/14/2025 |
| 1.1.622 | 434 | 6/4/2025 |
| 1.1.575 | 537 | 4/16/2025 |
| 1.1.419 | 566 | 11/12/2024 |
| 1.1.399 | 448 | 10/23/2024 |
| 1.0.327 | 457 | 8/12/2024 |
| 1.0.272 | 450 | 6/19/2024 |
| 1.0.270 | 421 | 6/16/2024 |
| 1.0.268 | 409 | 6/14/2024 |