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
1 change: 0 additions & 1 deletion .github/actions/setup-build-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@ runs:
libvirglrenderer-dev \
libepoxy-dev \
libdrm-dev \
libpipewire-0.3-dev \
clang-format \
libclang-dev
8 changes: 4 additions & 4 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Clippy (tdx)
run: cargo clippy --locked --features tdx -- -D warnings

- name: Clippy (net+blk+gpu+snd+input)
run: cargo clippy --locked --features net,blk,gpu,snd,input -- -D warnings
- name: Clippy (net+blk+gpu+input)
run: cargo clippy --locked --features net,blk,gpu,input -- -D warnings

code-quality-linux-aarch64:
name: libkrun (Linux aarch64)
Expand All @@ -41,8 +41,8 @@ jobs:
- name: Clippy (default)
run: cargo clippy --locked -- -D warnings

- name: Clippy (net+blk+gpu+snd+input)
run: cargo clippy --locked --features net,blk,gpu,snd,input -- -D warnings
- name: Clippy (net+blk+gpu+input)
run: cargo clippy --locked --features net,blk,gpu,input -- -D warnings

code-quality-macos:
name: libkrun (macOS aarch64)
Expand Down
201 changes: 1 addition & 200 deletions Cargo.lock

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

3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ endif
ifeq ($(GPU),1)
FEATURE_FLAGS += --features gpu
endif
ifeq ($(SND),1)
FEATURE_FLAGS += --features snd
endif
ifeq ($(INPUT),1)
FEATURE_FLAGS += --features input
endif
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Each variant generates a dynamic library with a different name (and ```soname```
* virtio-vsock (for TSI and socket redirection)
* virtio-balloon (only free-page reporting)
* virtio-rng
* virtio-snd


## Networking

Expand Down Expand Up @@ -119,7 +119,7 @@ When TSI is enabled, the VMM acts as a proxy for AF_INET, AF_INET6 and AF_UNIX s
* **VIRGL_RESOURCE_MAP2=1**: Uses virgl_resource_map2 function. Requires a virglrenderer-devel patched with [1374](https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1374)
* **BLK=1**: Enables virtio-block.
* **NET=1**: Enables virtio-net.
* **SND=1**: Enables virtio-snd.


#### Compiling

Expand Down
13 changes: 0 additions & 13 deletions include/libkrun.h
Original file line number Diff line number Diff line change
Expand Up @@ -735,18 +735,6 @@ int krun_add_input_device(uint32_t ctx_id, const void *config_backend, size_t co
*/
int krun_add_input_device_fd(uint32_t ctx_id, int input_fd);

/**
* Enables or disables a virtio-snd device.
*
* Arguments:
* "ctx_id" - the configuration context ID.
* "enable" - boolean indicating whether virtio-snd should be enabled or disabled.
*
* Returns:
* Zero on success or a negative error number on failure.
*/
int32_t krun_set_snd_device(uint32_t ctx_id, bool enable);

/**
* Vhost-user device types.
* These correspond to virtio device type IDs for devices.
Expand Down Expand Up @@ -1122,7 +1110,6 @@ int32_t krun_check_nested_virt(void);
#define KRUN_FEATURE_NET 0
#define KRUN_FEATURE_BLK 1
#define KRUN_FEATURE_GPU 2
#define KRUN_FEATURE_SND 3
#define KRUN_FEATURE_INPUT 4
#define KRUN_FEATURE_TEE 6
#define KRUN_FEATURE_AMD_SEV 7
Expand Down
Loading
Loading