accel

package
v0.0.0-...-989fa2c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2023 License: Apache-2.0, MIT Imports: 13 Imported by: 0

Documentation

Overview

Package accel implements proxying for hardware accelerators.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDevtmpfsFile

func CreateDevtmpfsFile(ctx context.Context, dev *devtmpfs.Accessor, num uint32) error

CreateDevtmpfsFile creates a /dev/accel[0-9]+ device file.

func Filters

func Filters() seccomp.SyscallRules

Filters returns seccomp-bpf filters for this package.

func Register

func Register(vfsObj *vfs.VirtualFilesystem, minor uint32) error

Register registers all devices implemented by this package in vfsObj.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL