Ai
1 Star 0 Fork 0

懒死了/pnetlab_wrapper

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
qemu_functions.c 935 Bytes
一键复制 编辑 原始数据 按行查看 历史
Viet Linh 提交于 2022-06-25 23:17 +08:00 . initial commit
// vim: syntax=c tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler
/**
* wrappers/qemu_functions.c
*
* Functions for qemu_wrapper.
*
* @author Andrea Dainese <andrea.dainese@gmail.com>
* @copyright 2014-2016 Andrea Dainese
* @license BSD-3-Clause https://github.com/dainok/unetlab/blob/master/LICENSE
* @link http://www.unetlab.com/
* @version 20160719
*/
#include <stdio.h>
#include <stdlib.h>
// Print usage
void usage(const char *bin) {
printf("Usage: %s <standard options> -- <QEMU options>\n", bin);
printf("Standard Options:\n");
printf("-T <n> *Tenant ID\n");
printf("-D <n> *Device ID\n");
printf("-P <n> *Console Port\n");
printf("-d <n> Delayed start in seconds (default 0)\n");
printf("-t <desc> Window (xterm) title\n");
printf("-F <n> *QEMU executable\n");
printf("-x Enable VNC console\n");
printf("* Mandatory option\n");
exit(1);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Coding.com/pnetlab_wrapper.git
git@gitee.com:Coding.com/pnetlab_wrapper.git
Coding.com
pnetlab_wrapper
pnetlab_wrapper
main

搜索帮助