Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uffd async pf #11

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
change ctr options
  • Loading branch information
CompuIves committed Sep 30, 2023
commit 6ef60bd5fb485b37110bf875f43577b8d91d52a5
Empty file added build.rs
Empty file.
2 changes: 1 addition & 1 deletion src/api_server/src/request/memory_backend.rs
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
use super::super::VmmAction;
use crate::parsed_request::{Error, ParsedRequest};
use crate::request::Body;
use logger::{IncMetric, METRICS};
use vmm::logger::{IncMetric, METRICS};
use vmm::vmm_config::snapshot::MemBackendConfig;

pub(crate) fn parse_put_memory_backend(body: &Body) -> Result<ParsedRequest, Error> {
2 changes: 1 addition & 1 deletion tools/devtool
Original file line number Diff line number Diff line change
@@ -309,8 +309,8 @@ run_devctr() {
--rm \
--volume /dev:/dev \
--volume "$FC_ROOT_DIR:$CTR_FC_ROOT_DIR:z" \
--tmpfs /srv:exec,dev,size=32G \
--mount type=bind,source=/usr/include/linux/userfaultfd.h,target=/usr/include/linux/userfaultfd.h \
--env OPT_LOCAL_IMAGES_PATH="$(dirname "$CTR_MICROVM_IMAGES_DIR")" \
-v /boot:/boot \
--env PYTHONDONTWRITEBYTECODE=1 \
"$DEVCTR_IMAGE" "${ctr_args[@]}"