mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-10 13:56:48 +00:00
Enable CI for MicroVM
This commit is contained in:
parent
4c72f5b7fa
commit
0e7f279bd6
4
.github/workflows/integration_test.yml
vendored
4
.github/workflows/integration_test.yml
vendored
@ -28,4 +28,6 @@ jobs:
|
||||
id: syscall_test_linux
|
||||
run: make run AUTO_TEST=syscall ENABLE_KVM=0 BOOT_PROTOCOL=linux RELEASE_MODE=1
|
||||
|
||||
# TODO: include the integration tests for MicroVM, which is not ready yet.
|
||||
- name: Syscall Test (MicroVM)
|
||||
id: syscall_test_microvm
|
||||
run: make run AUTO_TEST=syscall ENABLE_KVM=0 BOOT_METHOD=microvm RELEASE_MODE=1
|
||||
|
@ -13,6 +13,7 @@ use alloc::{
|
||||
vec,
|
||||
vec::Vec,
|
||||
};
|
||||
use log::warn;
|
||||
|
||||
#[derive(PartialEq, Debug)]
|
||||
struct InitprocArgs {
|
||||
@ -82,7 +83,8 @@ impl From<&str> for KCmdlineArg {
|
||||
// by the analysis over the Backus–Naur form syntax tree.
|
||||
for arg in split_arg(cmdline) {
|
||||
// FIXME: The -kernel option in QEMU seems to add this string to the command line, which we skip for now.
|
||||
if arg.starts_with("target/x86_64-custom/debug/jinux") {
|
||||
if arg.starts_with("target/x86_64-custom/") {
|
||||
warn!("Found kcmdline: {:?}, skipped for now.", arg);
|
||||
continue;
|
||||
}
|
||||
// Cmdline => KernelArg "--" InitArg
|
||||
|
Loading…
x
Reference in New Issue
Block a user