mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
appliance: Reenable ACPI.
Previously I disabled ACPI because it was not necessary and was slow. However measuring it again now, I can see no significant difference in performance, and it is necessary if we are going to use DAX. It's also useful to keep the appliance kernel state as similar to the ordinary state, and setting acpi=off is a massive change to the way that the kernel boots. Therefore, reenable it.
This commit is contained in:
@@ -367,7 +367,6 @@ guestfs_int_appliance_command_line (guestfs_h *g, const char *appliance_dev,
|
||||
" udev.event-timeout=6000" /* for newer udevd */
|
||||
" no_timer_check" /* fix for RHBZ#502058 */
|
||||
"%s" /* lpj */
|
||||
" acpi=off" /* ACPI is slow - 150-200ms extra on my laptop */
|
||||
" printk.time=1" /* display timestamp before kernel messages */
|
||||
" cgroup_disable=memory" /* saves us about 5 MB of RAM */
|
||||
" usbcore.nousb" /* disable USB, only saves about 1ms */
|
||||
|
||||
Reference in New Issue
Block a user