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

vmm:qemu support config_qemu.toml #170

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

HITweihailiuxu
Copy link

vmm:qemu support config_qemu.toml

cpu_features = "pmu=off"
cpu_model = "host"
qemu_path = "/usr/bin/qemu-system-x86_64"
machine_type = "virt"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check this machine type, I believe it should be 'pc' instread

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

vcpus = 1
kernel_params = "task.log_level=debug task.sharefs_type=9p tsc=reliable rcupdate.rcu_expedited=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 i8042.noaux=1 noreplace-smp= reboot=k console=hvc0 console=hvc1 iommu=off cryptomgr.notests= net.ifnames=0 pci=lastbus=0"
kernel_path = "/var/lib/kuasar/vmlinux.bin"
initrd_path = "/var/lib/kuasar/kuasar.img"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kuasar.img is built as rootfs image in the cargo.toml above, it shouldn't be here as initrd. please either use a real initrd image or put kuasar.img in the image_path.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

vcpus = 1
kernel_params = "task.log_level=debug task.sharefs_type=9p tsc=reliable rcupdate.rcu_expedited=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 i8042.noaux=1 noreplace-smp= reboot=k console=hvc0 console=hvc1 iommu=off cryptomgr.notests= net.ifnames=0 pci=lastbus=0"
kernel_path = "/var/lib/kuasar/vmlinux.bin"
initrd_path = "/var/lib/kuasar/kuasar.img"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

share_fs = "Virtio9P"
use_vsock = true

[hypervisor.common]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we put all these configs under [hypervisor] in the toml?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@abel-von
Copy link
Contributor

abel-von commented Nov 4, 2024

LGTM

Signed-off-by: liuxu <liuxu156@huawei.com>
@abel-von abel-von merged commit 4ad477e into kuasar-io:main Nov 4, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants