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

Add virtio_pci to loaded modules; leave only -virtfs #10

Merged
merged 1 commit into from
Aug 28, 2023
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: 1 addition & 0 deletions initramfs_builder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ $(addprefix $(INITRAMFS_DIR)/,$(INIT_FILES)): $(INITRAMFS_DIR)/%: % $(INITRAMFS_
insert_modules.sh:
modprobe --show-depends 9p > $@
modprobe --show-depends 9pnet_virtio >> $@
modprobe --show-depends virtio_pci >> $@
modprobe --show-depends overlay >> $@
sed -i '/builtin/d' $@

Expand Down
3 changes: 1 addition & 2 deletions initramfs_builder/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ exec qemu-system-x86_64 \
-m 1G \
-append "console=ttyS0 loglevel=3 quiet oops=panic $*" \
-device virtio-rng-pci \
-virtfs 'local,path=/,id=hostfs,mount_tag=hostfs,security_model=none,readonly=on' \
-device 'virtio-9p-pci,fsdev=hostfs,mount_tag=hostfs' \
-virtfs local,path=/,id=hostfs,mount_tag=hostfs,security_model=none,readonly=on \
-object memory-backend-epc,id=epc_mem,size=64M,prealloc=on \
-M sgx-epc.0.memdev=epc_mem