Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .wiki
Submodule .wiki updated from c571e6 to 46e812
4 changes: 2 additions & 2 deletions AddDevice.xaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Window x:Class="TheFlightSims.HyperVDPD.AddDevice"
<Window x:Class="TheFlightSims.HyperVDDA.AddDevice"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TheFlightSims.HyperVDPD"
xmlns:local="clr-namespace:TheFlightSims.HyperVDDA"
mc:Ignorable="d"
Title="Add Device"
ResizeMode="NoResize"
Expand Down
8 changes: 4 additions & 4 deletions AddDevice.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
using System.Management;
using System.Windows;

using TheFlightSims.HyperVDPD.DefaultUI;
using TheFlightSims.HyperVDPD.WMIProperties;
using TheFlightSims.HyperVDDA.DefaultUI;
using TheFlightSims.HyperVDDA.WMIProperties;

/*
* Primary namespace for HyperV-DPD application
* Primary namespace for HyperV-DDA application
* It contains the main window and all related methods for the core application
*/
namespace TheFlightSims.HyperVDPD
namespace TheFlightSims.HyperVDDA
{
/*
* Add Device Window class
Expand Down
4 changes: 2 additions & 2 deletions App.xaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Application x:Class="TheFlightSims.HyperVDPD.App"
<Application x:Class="TheFlightSims.HyperVDDA.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:TheFlightSims.HyperVDPD"
xmlns:local="clr-namespace:TheFlightSims.HyperVDDA"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
Expand Down
2 changes: 1 addition & 1 deletion App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Windows;

namespace TheFlightSims.HyperVDPD
namespace TheFlightSims.HyperVDDA
{
public partial class App : Application
{
Expand Down
4 changes: 2 additions & 2 deletions ChangeMemorySpace.xaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Window x:Class="TheFlightSims.HyperVDPD.ChangeMemorySpace"
<Window x:Class="TheFlightSims.HyperVDDA.ChangeMemorySpace"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TheFlightSims.HyperVDPD"
xmlns:local="clr-namespace:TheFlightSims.HyperVDDA"
mc:Ignorable="d"
Title="Change Memory Space"
SizeToContent="WidthAndHeight"
Expand Down
4 changes: 2 additions & 2 deletions ChangeMemorySpace.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System.Windows;

/*
* Primary namespace for HyperV-DPD application
* Primary namespace for HyperV-DDA application
* It contains the main window and all related methods for the core application
*/
namespace TheFlightSims.HyperVDPD
namespace TheFlightSims.HyperVDDA
{
/*
* Change Memory Space Window
Expand Down
4 changes: 2 additions & 2 deletions CheckForAssignableDevice.xaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Window x:Class="TheFlightSims.HyperVDPD.CheckForAssignableDevice"
<Window x:Class="TheFlightSims.HyperVDDA.CheckForAssignableDevice"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TheFlightSims.HyperVDPD"
xmlns:local="clr-namespace:TheFlightSims.HyperVDDA"
mc:Ignorable="d"
SizeToContent="WidthAndHeight"
ResizeMode="NoResize"
Expand Down
8 changes: 4 additions & 4 deletions CheckForAssignableDevice.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
using System.Management;
using System.Threading.Tasks;
using System.Windows;
using TheFlightSims.HyperVDPD.DefaultUI;
using TheFlightSims.HyperVDPD.WMIProperties;
using TheFlightSims.HyperVDDA.DefaultUI;
using TheFlightSims.HyperVDDA.WMIProperties;

/*
* Primary namespace for HyperV-DPD application
* Primary namespace for HyperV-DDA application
* It contains the main window and all related methods for the core application
*/
namespace TheFlightSims.HyperVDPD
namespace TheFlightSims.HyperVDDA
{
/*
* Check for assignable device window
Expand Down
6 changes: 2 additions & 4 deletions Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
To clone the repo, run, use this command

```bash
git clone https://github.com/tfslabs/HyperV-DPD.git
git clone https://github.com/tfslabs/HyperV-DDA.git
```

### Build with Visual Studio (only for Windows)
Expand All @@ -19,6 +19,4 @@ To contribute, you may need Visual Studio 2022. Required Visual Studio 2022 SDKs

## Build from source

You can open the `HyperV-DPD.csproj` to open the project in Visual Studio

However, since this project is a part of [Windows Server Management Tool](https://github.com/TheFlightSims/windowsserver-mgmttools), you may need to clone the whole repo, before using Visual Studio, because the full Visual Studio Solution are already configured with valid build configurations.
You can open the `HyperV-DDA.csproj` to open the project in Visual Studio
4 changes: 2 additions & 2 deletions DefaultUI/About.xaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Window x:Class="TheFlightSims.HyperVDPD.DefaultUI.About"
<Window x:Class="TheFlightSims.HyperVDDA.DefaultUI.About"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TheFlightSims.HyperVDPD"
xmlns:local="clr-namespace:TheFlightSims.HyperVDDA"
mc:Ignorable="d"
Title="About"
Height="150"
Expand Down
2 changes: 1 addition & 1 deletion DefaultUI/About.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2. ExceptionView.xaml - A window to handle exception messages
* 3. About.xaml - A window to display information about the application
*/
namespace TheFlightSims.HyperVDPD.DefaultUI
namespace TheFlightSims.HyperVDDA.DefaultUI
{
/*
* About Form class
Expand Down
4 changes: 2 additions & 2 deletions DefaultUI/ConnectForm.xaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Window x:Class="TheFlightSims.HyperVDPD.DefaultUI.ConnectForm"
<Window x:Class="TheFlightSims.HyperVDDA.DefaultUI.ConnectForm"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TheFlightSims.HyperVDPD"
xmlns:local="clr-namespace:TheFlightSims.HyperVDDA"
mc:Ignorable="d"
Title="Connect To Another Computer"
Height="180"
Expand Down
2 changes: 1 addition & 1 deletion DefaultUI/ConnectForm.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* 2. ExceptionView.xaml - A window to handle exception messages
* 3. About.xaml - A window to display information about the application
*/
namespace TheFlightSims.HyperVDPD.DefaultUI
namespace TheFlightSims.HyperVDDA.DefaultUI
{
/*
* Connection Form class
Expand Down
4 changes: 2 additions & 2 deletions DefaultUI/ExceptionView.xaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Window x:Class="TheFlightSims.HyperVDPD.DefaultUI.ExceptionView"
<Window x:Class="TheFlightSims.HyperVDDA.DefaultUI.ExceptionView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TheFlightSims.HyperVDPD"
xmlns:local="clr-namespace:TheFlightSims.HyperVDDA"
mc:Ignorable="d"
Title="An error occurred"
Height="300"
Expand Down
2 changes: 1 addition & 1 deletion DefaultUI/ExceptionView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* 1. ConnectForm.xaml - A form to connect to a local or remote computer
* 2. ExceptionView.xaml - A window to handle exception messages
*/
namespace TheFlightSims.HyperVDPD.DefaultUI
namespace TheFlightSims.HyperVDDA.DefaultUI
{
/*
* Exception View class
Expand Down
10 changes: 6 additions & 4 deletions HyperV-DPD.csproj → HyperV-DDA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{CAF55C7C-B0E5-4E0F-8FF3-646B74084CF3}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>TheFlightSims.HyperVDPD</RootNamespace>
<AssemblyName>Hyper-V DPD</AssemblyName>
<RootNamespace>TheFlightSims.HyperVDDA</RootNamespace>
<AssemblyName>Hyper-V DDA</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
Expand Down Expand Up @@ -51,7 +51,8 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Release\x86\Hyper-V DPD.xml</DocumentationFile>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
Expand All @@ -76,7 +77,8 @@
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Release\x64\Hyper-V DPD.xml</DocumentationFile>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup />
Expand Down
4 changes: 2 additions & 2 deletions HyperVStatus.xaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Window x:Class="TheFlightSims.HyperVDPD.HyperVStatus"
<Window x:Class="TheFlightSims.HyperVDDA.HyperVStatus"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TheFlightSims.HyperVDPD"
xmlns:local="clr-namespace:TheFlightSims.HyperVDDA"
mc:Ignorable="d"
Title="Hyper-V Service Status"
Height="300"
Expand Down
8 changes: 4 additions & 4 deletions HyperVStatus.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
using System.Linq;
using System.Management;
using System.Windows;
using TheFlightSims.HyperVDPD.DefaultUI;
using TheFlightSims.HyperVDPD.WMIProperties;
using TheFlightSims.HyperVDDA.DefaultUI;
using TheFlightSims.HyperVDDA.WMIProperties;

/*
* Primary namespace for HyperV-DPD application
* Primary namespace for HyperV-DDA application
* It contains the main window and all related methods for the core application
*/
namespace TheFlightSims.HyperVDPD
namespace TheFlightSims.HyperVDDA
{
/*
* Hyper-V Services Status Window
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TheFlightSims OSS License

Copyright 2025 TheFlightSims

Hyper-V DPD
Hyper-V DDA

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software—including without limitation to use, copy, modify, merge, publish, distribute, and sublicense copies of the Software—subject to the following conditions:

Expand Down
4 changes: 2 additions & 2 deletions MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Window
x:Name="MainWindowName"
x:Class="TheFlightSims.HyperVDPD.MainWindow"
x:Class="TheFlightSims.HyperVDDA.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="Hyper-V DPD"
Title="Hyper-V DDA"
Height="Auto"
SizeToContent="WidthAndHeight"
ResizeMode="NoResize"
Expand Down
10 changes: 5 additions & 5 deletions MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
using System.Threading.Tasks;
using System.Windows;

using TheFlightSims.HyperVDPD.DefaultUI;
using TheFlightSims.HyperVDPD.WMIProperties;
using TheFlightSims.HyperVDDA.DefaultUI;
using TheFlightSims.HyperVDDA.WMIProperties;

/*
* Primary namespace for HyperV-DPD application
* Primary namespace for HyperV-DDA application
* It contains the main window and all related methods for the core application
*/
namespace TheFlightSims.HyperVDPD
namespace TheFlightSims.HyperVDDA
{
/*
* Main Window class
Expand Down Expand Up @@ -556,7 +556,7 @@ await Task.Run(() =>
{
// If there is no VM selected on the list
_ = MessageBox.Show(
"Please select a virtual machine to add a device",
"Please select a virtual machine to change the guest cache type",
"Warning",
MessageBoxButton.OK,
MessageBoxImage.Warning
Expand Down
12 changes: 6 additions & 6 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hyper-V DPD")]
[assembly: AssemblyDescription("Hyper-V DPD allows virtual machines using the direct I/O of hardware (such as GPU) for general computing")]
[assembly: AssemblyTitle("Hyper-V DDA")]
[assembly: AssemblyDescription("Hyper-V DDA allows virtual machines using the direct I/O of hardware (such as GPU) for general computing")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("TheFlightSims")]
[assembly: AssemblyProduct("Hyper-V DPD")]
[assembly: AssemblyCopyright("Copyright © 2025")]
[assembly: AssemblyProduct("Hyper-V DDA")]
[assembly: AssemblyCopyright("Copyright © 2026")]
[assembly: AssemblyTrademark("TheFlightSims")]
[assembly: AssemblyCulture("")]

Expand Down Expand Up @@ -47,7 +47,7 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.2503")]
[assembly: AssemblyFileVersion("1.0.0.2503")]
[assembly: AssemblyVersion("1.0.0.2602")]
[assembly: AssemblyFileVersion("1.0.0.2602")]
[assembly: Guid("8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a")]
[assembly: NeutralResourcesLanguage("en")]
6 changes: 3 additions & 3 deletions Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
> :warning:
>
> This tool is still under review **(Phase 2/3)**, and not ready for production environment.

# Hyper-V DPD
# Hyper-V DDA

Hyper-V Discrete Device Assignment and GPU Paravirtualization provides a graphical user interface for deploying Discrete Device Assignment and GPU-P on a Hyper-V server.

It also handles WMI remote connections, allowing administrators to deploy and manage without complex PowerShell scripts remotely.

![Hyper-V DPD Main Window](https://github.com/tfslabs/HyperV-DPD/wiki/img/1.png)
![Hyper-V DDA Main Window](https://github.com/tfslabs/HyperV-DDA/wiki/img/1.png)

## How to use?

See in [wiki](https://github.com/tfslabs/HyperV-DPD/wiki)
See in [wiki](https://github.com/tfslabs/HyperV-DDA/wiki)

## How to contribute?

Expand Down
2 changes: 1 addition & 1 deletion WMIProperties/MachineMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* The default WMI method class includes:
* 1. MachineMethods.cs - A base class for WMI operations on local and remote machines
*/
namespace TheFlightSims.HyperVDPD.WMIProperties
namespace TheFlightSims.HyperVDDA.WMIProperties
{
/*
* Machine Method class
Expand Down
Loading