1
0
Fork 0
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:
Stefan Lankes 2017-12-15 23:09:48 +01:00
parent b3af314559
commit cf758712d4

View file

@ -296,7 +296,12 @@ static int qemu_init(char *path)
char port_str[MAX_PATH];
pid_t qemu_pid;
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");
if (str)