Commit Graph
15 Commits
Author SHA1 Message Date
Konstantin Kostiuk 84b50b8ecb Move build/sign related tools into a separate folder
Signed-off-by: Konstantin Kostiuk <[email protected]>
2024-10-13 14:41:59 +02:00
Yuri Benditovich fb5ccb351a netkvm-prot: development time signing of vioprot.inf
For signing of the protocol INF just need to enable signing
in the .user file

Signed-off-by: Yuri Benditovich <[email protected]>
2024-06-25 10:30:06 +03:00
Yuri Benditovich 66246289fd netkvm-prot: update protocol service binary at runtime
https://issues.redhat.com/browse/RHEL-31482
Before this commit: netkvmp.exe is installed by protocol INF
to system32 directory, INF also creates netkvmp service for
this binary. The netkvmp.exe works with netkvm driver using
IOCTLs and continues doing it in case the netkvm driver is
updated, so these binaries at some point might get out of sync.
In order to update the netkvmp.exe the protocol INF must be
reinstalled.
After this commit: netkvmp.exe is installed by netkvm INF to
system directory. When the netkvmp.exe is called to install
the protocol it first copies itself to system32\netkvmps.exe,
then it installs protocol INF, which creates netkvmp service
with existing netkvmps.exe file. The service from time to time
checks that the service binary (netkvmps.exe) is identical to
netkvmp.exe. When it detects they are out of sync, it starts
'netkvmp.exe restartservice' and stops. The netkvmp.exe
copies itself to netkvmps.exe and starts the service. Such a
way, the protocol service is always in sync with netkvm driver.

Signed-off-by: Yuri Benditovich <[email protected]>
2024-04-05 16:47:02 +03:00
Yuri Benditovich 30b722b528 netkvm-prot: convert NotifyObject to dummy driver project
- remove all the redundant files from the project
- change netkvmno.cpp to dummy driver file
- change project to be driver project (to sign INF)
- remove netkvmno.dll from INF file

Signed-off-by: Yuri Benditovich <[email protected]>
2024-04-05 16:47:02 +03:00
Kostiantyn Kostiuk 4c4d1812a8 Add Windows 11 target
Update build scripts to use EWDK 11 21H2 for Win10 target
and EWDK 11 22H2 for Win11 target

Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2023-12-19 15:55:31 +02:00
Kostiantyn Kostiuk c165bd5498 Remove Win8.1 targets and build scripts
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2023-11-07 13:11:11 +01:00
Kostiantyn Kostiuk d39a39ca74 Remove Win8 targets and build scripts
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2023-11-07 13:11:11 +01:00
Yuri Benditovich 7b02919342 notify-obj: correct vioprot.cat signing command
The signing is optional and used only during development build.
Fixed signing command to satisfy signtool of WDK 22000.

Signed-off-by: Yuri Benditovich <[email protected]>
2023-07-02 12:57:58 +03:00
Yuri Benditovich 8b3fb2d480 notyfyobj: Fix targets
Earlier commit 42b1e51e22 has changed the configuration
of ProtocolService from Release to Win10Release but did not
it in the postbuild of NotifyObject. Fixing it

Signed-off-by: Yuri Benditovich <[email protected]>
2023-06-27 16:23:24 +03:00
Kostiantyn Kostiuk 42b1e51e22 NetKVM: Fix targets
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2023-04-30 11:42:01 +03:00
Kostiantyn Kostiuk dd9c956d4e NetKVM: Remove Windows 7 target
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2021-11-25 11:03:17 +02:00
Kostiantyn Kostiuk 23761378e9 NetKVM: Remove Vista target
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2021-11-25 11:03:17 +02:00
Yuri Benditovich 468abda2ba netkvm: do not sign protocol files by default
By default we do not sign any binaries and CAT files in all
the projects under virtio-win. Typically driver providers sign
resulting drivers with their certificate after entire build
is done. To enable signing of executables during development
create local NetKVM\NotifyObject\.dosigning file.

Signed-off-by: Yuri Benditovich <[email protected]>
2020-07-09 15:23:33 +03:00
Yuri Benditovich 4132c9e7d5 netkvm: use dummy service executable for notify object
The dummy service behaves like a service and does not do
anything except of that. The protocol is unconditionally
registered by NETKVM driver on load. We do not have and do
not need another executable for the protocol, but we do
need the service name to register the protocol.

Signed-off-by: Yuri Benditovich <[email protected]>
2020-07-07 17:53:39 +03:00
Yuri Benditovich bb4899ec46 netkvm: initial implementation of teaming protocol driver
Signed-off-by: Annie Li <[email protected]>
Signed-off-by: Yuri Benditovich <[email protected]>
2020-07-07 17:53:39 +03:00