vbox: support to disable acpi

Issue #1201
This commit is contained in:
Alexander Boettcher 2014-07-08 12:51:15 +02:00 committed by Norman Feske
parent 761f0498a9
commit 46124546f0
2 changed files with 7 additions and 0 deletions

View File

@ -91,6 +91,7 @@ append config {
<config>
<image type="iso" file="test.iso" />
<!-- <ioapic/> -->
<!-- <noacpi/> -->
<libc stdout="/dev/log" stderr="/dev/log">
<vfs>
<dir name="dev"> <log/> </dir>

View File

@ -206,6 +206,12 @@ int main()
if (bOverlay)
args.add("-overlay");
/* disable acpi support if requested */
try {
Genode::Xml_node node = Genode::config()->xml_node().sub_node("noacpi");
args.add("-noacpi");
} catch (...) { }
/* ioapic support */
try {
Genode::Xml_node node = Genode::config()->xml_node().sub_node("ioapic");