Merge pull request #129460 from j-brn/master
This commit is contained in:
commit
8bf9a5e9d9
@ -4643,6 +4643,12 @@
|
|||||||
githubId = 6874204;
|
githubId = 6874204;
|
||||||
name = "Jason Carr";
|
name = "Jason Carr";
|
||||||
};
|
};
|
||||||
|
j-brn = {
|
||||||
|
email = "me@bricker.io";
|
||||||
|
github = "j-brn";
|
||||||
|
githubId = 40566146;
|
||||||
|
name = "Jonas Braun";
|
||||||
|
};
|
||||||
j-keck = {
|
j-keck = {
|
||||||
email = "jhyphenkeck@gmail.com";
|
email = "jhyphenkeck@gmail.com";
|
||||||
github = "j-keck";
|
github = "j-keck";
|
||||||
|
32
pkgs/os-specific/linux/kvmfr/default.nix
Normal file
32
pkgs/os-specific/linux/kvmfr/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, kernel, kmod, looking-glass-client }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "kvmfr";
|
||||||
|
version = looking-glass-client.version;
|
||||||
|
|
||||||
|
src = looking-glass-client.src;
|
||||||
|
sourceRoot = "source/module";
|
||||||
|
hardeningDisable = [ "pic" "format" ];
|
||||||
|
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"KVER=${kernel.modDirVersion}"
|
||||||
|
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D kvmfr.ko -t "$out/lib/modules/${kernel.modDirVersion}/kernel/drivers/misc/"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Optional kernel module for LookingGlass";
|
||||||
|
longDescription = ''
|
||||||
|
This kernel module implements a basic interface to the IVSHMEM device for LookingGlass when using LookingGlass in VM->VM mode
|
||||||
|
Additionally, in VM->host mode, it can be used to generate a shared memory device on the host machine that supports dmabuf
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/gnif/LookingGlass";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = with maintainers; [ j-brn ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
@ -21017,6 +21017,8 @@ in
|
|||||||
|
|
||||||
jool = callPackage ../os-specific/linux/jool { };
|
jool = callPackage ../os-specific/linux/jool { };
|
||||||
|
|
||||||
|
kvmfr = callPackage ../os-specific/linux/kvmfr { };
|
||||||
|
|
||||||
mba6x_bl = callPackage ../os-specific/linux/mba6x_bl { };
|
mba6x_bl = callPackage ../os-specific/linux/mba6x_bl { };
|
||||||
|
|
||||||
mwprocapture = callPackage ../os-specific/linux/mwprocapture { };
|
mwprocapture = callPackage ../os-specific/linux/mwprocapture { };
|
||||||
|
Loading…
Reference in New Issue
Block a user