Skip to content

Commit

Permalink
enable shared folder
Browse files Browse the repository at this point in the history
  • Loading branch information
arkivm committed Aug 24, 2023
1 parent 4ba4711 commit 87fa12f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ build_install_qemu()

pushd qemu >/dev/null
fetch_from_git_remote ${QEMU_GIT_URL} ${QEMU_BRANCH}
run_cmd ./configure --target-list=x86_64-softmmu --prefix=$DEST --disable-werror
run_cmd ./configure --target-list=x86_64-softmmu --prefix=$DEST --disable-werror --enable-virtfs
run_cmd $MAKE
run_cmd $MAKE install
popd >/dev/null
Expand Down
1 change: 1 addition & 0 deletions scripts/launch-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ else
fi
fi

add_opts "-virtfs local,path=$(pwd)/../../linux,mount_tag=host0,security_model=passthrough,id=host0"
start_tpm

# log the console output in stdout.log
Expand Down

0 comments on commit 87fa12f

Please sign in to comment.