commit | def7ac806a9ac035abf0e7573ccc8bbfd38e163c | [log] [tgz] |
---|---|---|
author | Gabriel Somlo <somlo@cmu.edu> | Tue Mar 08 13:30:50 2016 -0500 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Apr 07 15:16:40 2016 +0300 |
tree | 0487db594de37d6fcc0794d919627a89dd45b034 | |
parent | 05dbcb430795b2e1fb1d5c757f8619d3dbed0a1c [diff] |
firmware: qemu_fw_cfg.c: hold ACPI global lock during device access Allowing for the future possibility of implementing AML-based (i.e., firmware-triggered) access to the QEMU fw_cfg device, acquire the global ACPI lock when accessing the device on behalf of the guest-side sysfs driver, to prevent any potential race conditions. Suggested-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Gabriel Somlo <somlo@cmu.edu> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>