mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 11:23:25 +00:00
Enable CI for MicroVM
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
4c72f5b7fa
commit
0e7f279bd6
@ -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
|
||||
|
Reference in New Issue
Block a user