mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
devices: Add notification value for power button
Add a value to the ACPI notification type to indicate the power button is to be triggered. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -43,5 +43,6 @@ bitflags! {
|
|||||||
const CPU_DEVICES_CHANGED = 0b1;
|
const CPU_DEVICES_CHANGED = 0b1;
|
||||||
const MEMORY_DEVICES_CHANGED = 0b10;
|
const MEMORY_DEVICES_CHANGED = 0b10;
|
||||||
const PCI_DEVICES_CHANGED = 0b100;
|
const PCI_DEVICES_CHANGED = 0b100;
|
||||||
|
const POWER_BUTTON_CHANGED = 0b1000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user