fn direct_kernel_boot_path() -> PathBuf {
        let mut workload_path = dirs::home_dir().unwrap();
        workload_path.push("workloads");

        let mut kernel_path = workload_path;
        #[cfg(target_arch = "x86_64")]
        kernel_path.push("vmlinux");
        #[cfg(target_arch = "aarch64")]
        kernel_path.push("Image");

        kernel_path
    }
// Creates the path for direct kernel boot and return the path.
// For x86_64, this function returns the vmlinux kernel path.
// For AArch64, this function returns the PE kernel path.
Creates the path for direct kernel boot and return the path.
For x86_64, this function returns the vmlinux kernel path.
For AArch64, this function returns the PE kernel path.
Creates the path for direct kernel boot and return the path . For x86_64 this function returns the vmlinux kernel path . For AArch64 this function returns the PE kernel path .
fn direct_kernel_boot_path() -> PathBuf {
        let mut workload_path = dirs::home_dir().unwrap();
        workload_path.push("workloads");
        let mut kernel_path = workload_path;
        #[cfg(target_arch = "x86_64")]
        kernel_path.push("vmlinux");
        #[cfg(target_arch = "aarch64")]
        kernel_path.push("Image");
        kernel_path
    }
fn direct_kernel_boot_path ( ) -> PathBuf { let mut workload_path = dirs :: home_dir ( ) . unwrap ( ) ; workload_path . push ( " " ) ; let mut kernel_path = workload_path ; # [ cfg ( target_arch " " ) ] kernel_path . push ( " " ) ; # [ cfg ( target_arch " " ) ] kernel_path . push ( " " ) ; kernel_path }
Creates the path for direct kernel boot and return the path.
Creates the path for direct kernel boot and return the path .