mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-30 00:00:15 +01:00
disable ACPI support
This commit is contained in:
parent
b3af314559
commit
cf758712d4
1 changed files with 6 additions and 1 deletions
|
@ -296,7 +296,12 @@ static int qemu_init(char *path)
|
||||||
char port_str[MAX_PATH];
|
char port_str[MAX_PATH];
|
||||||
pid_t qemu_pid;
|
pid_t qemu_pid;
|
||||||
char* qemu_str = "qemu-system-x86_64";
|
char* qemu_str = "qemu-system-x86_64";
|
||||||
char* qemu_argv[] = {qemu_str, "-daemonize", "-display", "none", "-smp", "1", "-m", "2G", "-pidfile", pidname, "-net", "nic,model=rtl8139", "-net", hostfwd, "-chardev", chardev_file, "-device", "pci-serial,chardev=gnc0", "-kernel", loader_path, "-initrd", path, "-append", get_append_string(), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
|
char* qemu_argv[] = {qemu_str, "-daemonize", "-display", "none", "-smp", "1",
|
||||||
|
"-m", "2G", "-pidfile", pidname, "-net", "nic,model=rtl8139", "-net",
|
||||||
|
hostfwd, "-chardev", chardev_file, "-device", "pci-serial,chardev=gnc0",
|
||||||
|
"-kernel", loader_path, "-initrd", path, "-append", get_append_string(),
|
||||||
|
"-no-acpi", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
||||||
|
NULL, NULL, NULL, NULL};
|
||||||
|
|
||||||
str = getenv("HERMIT_CPUS");
|
str = getenv("HERMIT_CPUS");
|
||||||
if (str)
|
if (str)
|
||||||
|
|
Loading…
Add table
Reference in a new issue