-
Notifications
You must be signed in to change notification settings - Fork 90
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
Conversation
vmm/sandbox/config_qemu_x86_64.toml
Outdated
cpu_features = "pmu=off" | ||
cpu_model = "host" | ||
qemu_path = "/usr/bin/qemu-system-x86_64" | ||
machine_type = "virt" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
vmm/sandbox/config_qemu_aarch64.toml
Outdated
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" |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
vmm/sandbox/config_qemu_x86_64.toml
Outdated
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
vmm/sandbox/config_qemu_aarch64.toml
Outdated
share_fs = "Virtio9P" | ||
use_vsock = true | ||
|
||
[hypervisor.common] |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
LGTM |
Signed-off-by: liuxu <liuxu156@huawei.com>
115295f
to
313c2a6
Compare
vmm:qemu support config_qemu.toml