Skip to content

scripts/ci/qemu-run.sh: Add support for VirtIO drive interface #937

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions scripts/ci/qemu-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ QEMU_PARAMS_OS="-device ich9-intel-hda \
-device virtio-rng-pci,max-bytes=1024,period=1000 \
-device virtio-net,netdev=vmnic \
-netdev user,id=vmnic,hostfwd=tcp::5222-:22 \
-drive file=${HDD_PATH},if=ide"
-drive file=${HDD_PATH},if=virtio"

if [[ -f ${HDD2_PATH} ]]; then
QEMU_PARAMS_OS+=" \
-drive file=${HDD2_PATH},if=ide"
-drive file=${HDD2_PATH},if=virtio"

echo "Using ${HDD2_PATH} as the second drive"
fi
Expand Down