Hi Igor,
On 6/3/2025 8:34 AM, Igor Mammedov wrote:
On Wed, 28 May 2025 12:39:52 -0400
Annie Li wrote:
The GPE event is triggered to notify x86 guest to sleep
itself. The function acpi_send_sleep_event will also
trigger GED events on HW-reduced systems where ACPI GED
sleep event is supported
Hi Igor,
On 6/3/2025 8:18 AM, Igor Mammedov wrote:
On Wed, 28 May 2025 12:35:45 -0400
Annie Li wrote:
The ACPI sleep button can be implemented as a fixed hardware button
or Control Method Sleep button.
The patch of implementing a fixed hardware sleep button was posted
here 1). More
Hi Igor,
On 6/3/2025 8:52 AM, Igor Mammedov wrote:
On Wed, 28 May 2025 12:39:17 -0400
Annie Li wrote:
Add Control Method Sleep button and its GPE event handler for
x86 platform. The GPE event handler notifies OSPM when the
Sleep button event is triggered.
Signed-off-by: Annie Li
---
hw
Hello Igor,
On 6/3/2025 8:31 AM, Igor Mammedov wrote:
On Wed, 28 May 2025 12:38:34 -0400
Annie Li wrote:
The fixed hardware sleep button isn't appropriate for hardware
reduced platform. This patch implements the control method sleep
button in a separate source file so that the button c
Hi Igor,
On 6/3/2025 9:03 AM, Igor Mammedov wrote:
On Wed, 28 May 2025 12:42:03 -0400
Annie Li wrote:
The function qemu_wakeup_suspend_enabled combines the suspend
and wakeup together. However, the microvm doesn't support
wakeup yet. Suspend is enabled here, but wakeup doesn't
act
Hello Markus,
On 6/2/2025 5:32 AM, Markus Armbruster wrote:
Annie Li writes:
Following hmp/qmp commands are implemented for pressing virtual
sleep button,
hmp: system_sleep
qmp: { "execute": "system_sleep" }
These commands put the guest into suspend or other power sta
The fixed hardware sleep button isn't appropriate for hardware
reduced platform. This patch implements the control method sleep
button in a separate source file so that the button can be added
for various platforms.
Co-developed-by: Miguel Luis
Signed-off-by: Annie Li
---
hw
'*_*' format, it is intended to do
so to align to existing 'system_*' commands.
Signed-off-by: Annie Li
---
hmp-commands.hx| 14 ++
hw/core/machine-hmp-cmds.c | 5 +
hw/core/machine-qmp-cmds.c | 11 +++
include/monitor/hmp.h
The function qemu_wakeup_suspend_enabled combines the suspend
and wakeup together. However, the microvm doesn't support
wakeup yet. Suspend is enabled here, but wakeup doesn't
actually work for microvm now.
Signed-off-by: Annie Li
---
hw/i386/microvm.c | 1 +
1 file changed, 1
Once the microvm guest requests to go to sleep state and
sets the GED register with S3 type, QEMU needs to continue
suspending the system.
Signed-off-by: Annie Li
---
hw/acpi/generic_event_device.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/acpi/generic_event_device.c b/hw/acpi
stem State
+{
+0x03,
+Zero,
+Zero,
+Zero
+})
+}
+
+Scope (\)
+{
Name (_S5, Package (0x04) // _S5_: S5 System State
{
0x05,
Zero,
Zero,
Zero
})
}
}
Signed-off
The sleep GED event is enabled for microvm. Also, the system
suspend is enabled when the GED register is set for sleep.
Signed-off-by: Annie Li
---
hw/i386/microvm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/i386/microvm.c b/hw/i386/microvm.c
index d0a236c74f
From: Miguel Luis
Add support for ACPI GED sleep event on the ACPI device
interface so that HW-reduced systems can enable guests
to sleep.
Signed-off-by: Miguel Luis
Signed-off-by: Annie Li
---
hw/acpi/generic_event_device.c | 9 +
include/hw/acpi/generic_event_device.h | 1
Add the support of ACPI Control Method Sleep Button and System
S3 Sleeping State for microvm.
Signed-off-by: Annie Li
---
hw/i386/acpi-microvm.c | 13 -
include/hw/acpi/generic_event_device.h | 1 +
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/hw
List changed files in tests/qtest/bios-tables-test-allowed-diff.h
Signed-off-by: Annie Li
---
tests/qtest/bios-tables-test-allowed-diff.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h
b/tests/qtest/bios-tables-test-allowed-diff.h
index
The GPE event is triggered to notify x86 guest to sleep
itself. The function acpi_send_sleep_event will also
trigger GED events on HW-reduced systems where ACPI GED
sleep event is supported.
Signed-off-by: Annie Li
---
hw/acpi/core.c | 12
include/hw/acpi
0x0CD8, // Range Minimum
0x0CD8, // Range Maximum
0x01, // Alignment
0x0C, // Length
)
})
OperationRegion (PRST, SystemIO, 0x0CD8, 0
Add Control Method Sleep button and its GPE event handler for
x86 platform. The GPE event handler notifies OSPM when the
Sleep button event is triggered.
Signed-off-by: Annie Li
---
hw/i386/acpi-build.c | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a
List changed files in tests/qtest/bios-tables-test-allowed-diff.h
Signed-off-by: Annie Li
---
tests/qtest/bios-tables-test-allowed-diff.h | 42 +
1 file changed, 42 insertions(+)
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h
b/tests/qtest/bios-tables-test
FC V3
---
Annie Li (12):
acpi: Implement control method sleep button
test/acpi: allow DSDT table changes for x86 platform
acpi: Support Control Method sleep button for x86
tests/qtest/bios-table-tests: Update ACPI table binaries for x86
acpi: Send the GPE event of sleep for x86
test/acpi:
Hi Gustavo,
On 4/17/2025 1:35 PM, Gustavo Romero wrote:
Hi Annie,
On 4/11/25 17:43, Annie Li wrote:
The sleep GED event is enabled for MicroVM. Also, the system
suspend is enabled when the GED register is set for sleep.
nit: in the commit messages, please stick with a single case
for
Hi Gustavo,
On 4/17/2025 1:30 PM, Gustavo Romero wrote:
Hi Annie,
On 4/11/25 17:34, Annie Li wrote:
Add Control Method Sleep button and its GPE event handler for
x86 platform. The GPE event handler notifies OSPM when the
Sleep button event is triggered.
Signed-off-by: Annie Li
---
hw/i386
Hi Gustavo,
On 4/17/2025 1:33 PM, Gustavo Romero wrote:
Annie,
On 4/11/25 17:42, Annie Li wrote:
list changed files in tests/qtest/bios-tables-test-allowed-diff.h
nit: List
Good catch, will fix it.
Annie
Signed-off-by: Annie Li
---
tests/qtest/bios-tables-test-allowed-diff.h | 5
Hi Gustavo,
On 4/17/2025 1:36 PM, Gustavo Romero wrote:
Hi Annie,
On 4/11/25 17:44, Annie Li wrote:
Following is the diff generated by the step 5 and 6 in
tests/qtest/bios-tables-test.c
Diff from iasl to show changes in DSDT table:
--- /tmp/asl-2F0N42.dsl 2025-04-11 12:50:02.892883467 +
Hi Gustavo,
On 4/17/2025 1:37 PM, Gustavo Romero wrote:
Hi Annie,
On 4/14/25 11:14, Annie Li wrote:
On 4/14/2025 2:31 AM, Markus Armbruster wrote:
Annie Li writes:
Followng hmp/qmp commands are implemented for pressing virtual
sleep button,
nit: Following
Oops! will fix it.
Thanks
Hi Gustavo,
On 4/17/2025 1:29 PM, Gustavo Romero wrote:
Hi Annie,
On 4/11/25 17:31, Annie Li wrote:
list changed files in tests/qtest/bios-tables-test-allowed-diff.h
nit: List
Will fix it.
Thanks
Annie
Signed-off-by: Annie Li
---
tests/qtest/bios-tables-test-allowed-diff.h | 42
Hi Gustavo,
On 4/17/2025 1:34 PM, Gustavo Romero wrote:
Hi Annie,
On 4/11/25 17:42, Annie Li wrote:
Add the support of control method sleep button and System
S3 Sleeping State for microvm.
I would say "... of ACPI Control Method Sleeping Button ...¨,
the important part being "ACP
Hi Gustavo,
On 4/17/2025 1:32 PM, Gustavo Romero wrote:
Hi Annie,
On 4/16/25 03:24, Philippe Mathieu-Daudé wrote:
On 15/4/25 23:48, Annie Li wrote:
On 4/15/2025 11:29 AM, Philippe Mathieu-Daudé wrote:
Hi Annie,
On 15/4/25 03:24, Annie Li wrote:
On 4/14/2025 11:18 AM, Alex Bennée wrote
Hi Gustavo,
On 4/17/2025 1:40 PM, Gustavo Romero wrote:
Hi Annie,
Some additional comments I forgot :)
On 4/11/25 17:41, Annie Li wrote:
The GPE event is triggered to notify x86 guest to suppend
nit ^ suspend
But I prefer to stick with
Hi Gustavo,
On 4/17/2025 1:31 PM, Gustavo Romero wrote:
Hi Annie,
On 4/11/25 17:39, Annie Li wrote:
Following is the diff generated by the step 5 and 6 in
tests/qtest/bios-tables-test.c
Diff from iasl to show changes in DSDT table:
--- /tmp/asl-34PV42.dsl 2025-04-09 19:04:34.846646690 +
Hi Gustavo,
On 4/17/2025 1:28 PM, Gustavo Romero wrote:
Hi Annie,
On 4/11/25 17:28, Annie Li wrote:
The fixed hardware sleep button isn't appropriate for hardware
reduced platform. This patch implements the control method sleep
button in a separate source file so that the button can be
On 4/15/2025 11:29 AM, Philippe Mathieu-Daudé wrote:
Hi Annie,
On 15/4/25 03:24, Annie Li wrote:
On 4/14/2025 11:18 AM, Alex Bennée wrote:
Annie Li writes:
The GPE event is triggered to notify x86 guest to suppend
itself. The function acpi_send_sleep_event will also
trigger GED events
On 4/14/2025 11:18 AM, Alex Bennée wrote:
Annie Li writes:
The GPE event is triggered to notify x86 guest to suppend
itself. The function acpi_send_sleep_event will also
trigger GED events on HW-reduced systems where ACPI GED
sleep event is supported.
Signed-off-by: Annie Li
---
hw/acpi
On 4/14/2025 2:31 AM, Markus Armbruster wrote:
Annie Li writes:
Followng hmp/qmp commands are implemented for pressing virtual
sleep button,
hmp: system_sleep
qmp: { "execute": "system_sleep" }
These commands put the guest into suspend or other power states
depending o
'*_*' format, it is intended to do
so to align to existing 'system_*' commands.
Signed-off-by: Annie Li
---
hmp-commands.hx| 14 ++
hw/core/machine-hmp-cmds.c | 5 +
hw/core/machine-qmp-cmds.c | 11 +++
include/monitor/hmp.h
The function qemu_wakeup_suspend_enabled combines the suspend
and wakeup together. However, the microvm doesn't support
wakeup yet. Suspend is enabled here, but wakeup doesn't
actually work for microvm now.
Signed-off-by: Annie Li
---
hw/i386/microvm.c | 1 +
1 file changed, 1
Once the microvm guest requests to go to sleep state and
sets the GED register with S3 type, QEMU needs to continue
suspending the system.
Signed-off-by: Annie Li
---
hw/acpi/generic_event_device.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/acpi/generic_event_device.c b/hw/acpi
Name (_S5, Package (0x04) // _S5_: S5 System State
{
0x05,
Zero,
Zero,
Zero
})
}
}
Signed-off-by: Annie Li
---
tests/data/acpi/x86/microvm/DSDT| Bin 365 -> 442 bytes
tests/data/acpi/x86/microv
The sleep GED event is enabled for MicroVM. Also, the system
suspend is enabled when the GED register is set for sleep.
Signed-off-by: Annie Li
---
hw/i386/microvm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/i386/microvm.c b/hw/i386/microvm.c
index d0a236c74f
From: Miguel Luis
Add support for ACPI GED sleep event on the ACPI device
interface so that HW-reduced systems can enable guests
to sleep.
Signed-off-by: Miguel Luis
Signed-off-by: Annie Li
---
hw/acpi/generic_event_device.c | 9 +
include/hw/acpi/generic_event_device.h | 1
Add the support of control method sleep button and System
S3 Sleeping State for microvm.
Signed-off-by: Annie Li
---
hw/i386/acpi-microvm.c | 11 +++
include/hw/acpi/generic_event_device.h | 1 +
2 files changed, 12 insertions(+)
diff --git a/hw/i386/acpi-microvm.c b
list changed files in tests/qtest/bios-tables-test-allowed-diff.h
Signed-off-by: Annie Li
---
tests/qtest/bios-tables-test-allowed-diff.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h
b/tests/qtest/bios-tables-test-allowed-diff.h
index
The GPE event is triggered to notify x86 guest to suppend
itself. The function acpi_send_sleep_event will also
trigger GED events on HW-reduced systems where ACPI GED
sleep event is supported.
Signed-off-by: Annie Li
---
hw/acpi/core.c | 10 ++
include/hw/acpi
/ Range Maximum
0x01, // Alignment
0x0C, // Length
)
})
OperationRegion (PRST, SystemIO, 0x0CD8, 0x0C)
Field (PRST, ByteAcc, NoLock, WriteAsZeros)
Signed-off-by: Annie Li
---
tests/data/acpi/x86/pc/DSDT
Add Control Method Sleep button and its GPE event handler for
x86 platform. The GPE event handler notifies OSPM when the
Sleep button event is triggered.
Signed-off-by: Annie Li
---
hw/i386/acpi-build.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a
list changed files in tests/qtest/bios-tables-test-allowed-diff.h
Signed-off-by: Annie Li
---
tests/qtest/bios-tables-test-allowed-diff.h | 42 +
1 file changed, 42 insertions(+)
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h
b/tests/qtest/bios-tables-test
The fixed hardware sleep button isn't appropriate for hardware
reduced platform. This patch implements the control method sleep
button in a separate source file so that the button can be added
for various platforms.
Co-developed-by: Miguel Luis
Signed-off-by: Annie Li
---
hw
es for ARM
--
Changes from V1
Rebase the patch set on qemu 9.1.0-rc4
---
Annie Li (12):
acpi: Implement control method sleep button
test/acpi: allow DSDT table changes for x86 platform
acpi: Support Control Method sleep button for x86
tests/qtest/bios-table-tes
On 10/7/2024 9:32 AM, Igor Mammedov wrote:
On Fri, 27 Sep 2024 14:38:59 -0400
Annie Li wrote:
Adding Control Method Sleep button and its GPE event handler for
x86.
Signed-off-by: Annie Li
---
hw/i386/acpi-build.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/hw/i386/acpi
On 10/7/2024 8:59 AM, Igor Mammedov wrote:
On Fri, 27 Sep 2024 14:38:57 -0400
Annie Li wrote:
The control method sleep button is added, as well as its GPE event
handler.
Co-developed-by: Miguel Luis
Signed-off-by: Annie Li
---
hw/acpi/control_method_device.c | 54
On 10/7/2024 8:44 AM, Igor Mammedov wrote:
On Fri, 27 Sep 2024 14:38:56 -0400
Annie Li wrote:
Followng hmp/qmp commands are implemented for pressing virtual
sleep button,
hmp: system_sleep
qmp: { "execute": "system_sleep" }
These commands put the guest into suspend o
On 10/7/2024 9:41 AM, Igor Mammedov wrote:
On Fri, 27 Sep 2024 14:38:55 -0400
Annie Li wrote:
The ACPI sleep button can be implemented as a fixed hardware button
or Control Method Sleep button.
The patch of implementing a fixed hardware sleep button was posted
here 1). More discussions can
Adding Control Method Sleep button and its GPE event handler for
x86.
Signed-off-by: Annie Li
---
hw/i386/acpi-build.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 5d4bd2b710..ee62333a03 100644
--- a/hw/i386/acpi-build.c
+++ b/hw
From: Miguel Luis
Add support for ACPI GED sleep event on the ACPI device interface so that
HW-reduced systems can enable guests to sleep.
Signed-off-by: Miguel Luis
---
hw/acpi/generic_event_device.c | 9 +
include/hw/acpi/generic_event_device.h | 1 +
2 files changed, 10 inse
The GPE event is triggered to notify the guest to suppend or
wakeup itself.
Signed-off-by: Annie Li
---
hw/acpi/core.c | 17 +
hw/core/machine-qmp-cmds.c | 2 ++
include/hw/acpi/acpi.h | 1 +
include/hw/acpi/acpi_dev_interface.h
From: Miguel Luis
[000h 4]Signature : "FACP"[Fixed ACPI
Description Table (FADT)]
[004h 0004 4] Table Length : 0114
[008h 0008 1] Revision : 06
-[009h 0009 1] Checksum : 12
+[009h 0009 1]
Followng hmp/qmp commands are implemented for pressing virtual
sleep button,
hmp: system_sleep
qmp: { "execute": "system_sleep" }
These commands put the guest into suspend or other power states
depending on the power settings inside the guest.
Signed-off-by: Annie Li
From: Miguel Luis
For reference: qmp_system_sleep relies on wakeup support delegated
by qemu_wakeup_suspend_enabled() hence the need for calling
qemu_register_wakeup_support(). With this, we should be able to
issue QMP system_sleep command now.
Signed-off-by: Miguel Luis
---
hw/arm/virt.c | 1
From: Miguel Luis
Include the ACPI control method device into arm/virt ACPI tables and the
corresponding handling which enables triggering the event.
Signed-off-by: Miguel Luis
---
hw/arm/virt-acpi-build.c | 13 +
hw/arm/virt.c| 13 -
include/hw/arm/virt.h
The control method sleep button is added, as well as its GPE event
handler.
Co-developed-by: Miguel Luis
Signed-off-by: Annie Li
---
hw/acpi/control_method_device.c | 54 +
hw/acpi/meson.build | 1 +
include/hw/acpi/control_method_device.h
Notify (\_SB.SLPB, 0x02) // Device Wake
+}
+}
+}
+
+Scope (_SB)
+{
Signed-off-by: Annie Li
---
tests/data/acpi/x86/pc/DSDT | Bin 6830 -> 7012 bytes
tests/data/acpi/x86/pc/DSDT.acpierst | Bin 6741 -> 6923 bytes
tests/data/acpi/x
Signed-off-by: Annie Li
---
tests/qtest/bios-tables-test-allowed-diff.h | 41 +
1 file changed, 41 insertions(+)
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h
b/tests/qtest/bios-tables-test-allowed-diff.h
index dfb8523c8b..512d40665d 100644
--- a/tests/qtest/bios
From: Miguel Luis
List changed files for FACP and DSDT table changes for the arm/virt.
Signed-off-by: Miguel Luis
---
tests/qtest/bios-tables-test-allowed-diff.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h
b/tests/qtest/bios-tables-tes
/#mfe24f89778020deeacfe45083f3eea3cf9f55961
3) https://lore.kernel.org/all/20231205002143.562-1-annie...@oracle.com/T/
Annie Li (6):
acpi: hmp/qmp: Add hmp/qmp support for system_sleep
acpi: Implement control method sleep button
test/acpi: allow DSDT table changes
acpi: Support Control Method
From: Miguel Luis
Add support for ACPI GED sleep event on the ACPI device interface so that
HW-reduced systems can enable guests to sleep.
Signed-off-by: Miguel Luis
---
hw/acpi/generic_event_device.c | 9 +
include/hw/acpi/generic_event_device.h | 1 +
2 files changed, 10 inse
From: Miguel Luis
Include the ACPI control method device into arm/virt ACPI tables and the
corresponding handling which enables triggering the event.
Signed-off-by: Miguel Luis
---
hw/arm/virt-acpi-build.c | 13 +
hw/arm/virt.c| 13 -
include/hw/arm/virt.h
List various DSDT files allowed to be changed in
tests/qtest/bios-tables-test-allowed-diff.h
Signed-off-by: Annie Li
---
tests/qtest/bios-tables-test-allowed-diff.h | 41 +
1 file changed, 41 insertions(+)
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h
b/tests
From: Miguel Luis
This is for reference that qmp_system_sleep relies on wakeup support delegated
by qemu_wakeup_suspend_enabled() hence the need for calling
qemu_register_wakeup_support().
Signed-off-by: Miguel Luis
---
hw/arm/virt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/v
From: Miguel Luis
*
* ACPI Data Table [FACP]
*
* Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue
*/
[000h 4]Signature : "FACP"[Fixed ACPI
Description Table (FADT)]
[004h 0004 4] Table Length : 0114
[008h 0008
From: Miguel Luis
List changed files for FACP and DSDT table changes for the arm/virt.
Signed-off-by: Miguel Luis
---
tests/qtest/bios-tables-test-allowed-diff.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h
b/tests/qtest/bios-tables-te
The GPE event is triggered to notify the guest to suspend or
wakeup itself. This patch removes the previous implementation
of QEMU_WAKEUP_REASON_OTHER pretending the resume was caused
by power button.
Signed-off-by: Annie Li
---
hw/acpi/core.c | 17 +
hw
// Length
)
})
OperationRegion (PRST, SystemIO, 0xAF00, 0x0C)
Field (PRST, ByteAcc, NoLock, WriteAsZeros)
Signed-off-by: Annie Li
---
tests/data/acpi/pc/DSDT | Bin 6830 -> 7012 bytes
tests/data/acpi/pc/DSDT.acpiers
Add Control Method Sleep button and its GPE event handler for
x86.
Signed-off-by: Annie Li
---
hw/i386/acpi-build.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 80db183b78..75985e1423 100644
--- a/hw/i386/acpi-build.c
+++ b/hw
The control method sleep button is added, as well as its GPE event
handler.
Co-Developed-by: Miguel Luis
Signed-off-by: Annie Li
---
hw/acpi/control_method_device.c | 49 +
hw/acpi/meson.build | 1 +
include/hw/acpi/control_method_device.h
Following hmp/qmp commands are implemented for pressing virtual
sleep button,
hmp: system_sleep
qmp: { "execute": "system_sleep" }
These commands put the guest into suspend or other power states
depending on the power settings inside the guest.
Signed-off-by: Annie Li
/all/20210920095316.2dd13...@redhat.com/T/#mfe24f89778020deeacfe45083f3eea3cf9f55961
Annie Li (6):
acpi: hmp/qmp: Add hmp/qmp support for system_sleep
acpi: Implement control method sleep button
test/acpi: allow DSDT table changes
acpi: Support Control Method sleep button for x86
tests
A recent enhancement for setting the block backend name fails test 186 due to a
'null' node-name. This is expected; adjust the expected test output accordingly.
Signed-off-by: Mark Kanda
Signed-off-by: Annie Li
---
tests/qemu-iotests/186.out | 36 ++
backend that is
defined by '-blockdev' option, so the QEMU returns non NULL vpd
page when emulating SCSI device.
[1]
https://github.com/virtio-win/kvm-guest-drivers-windows/commit/b57548c769ed9f431c34f6449ce432dd077cb02e
Signed-off-by: Annie Li
---
block/block-backend.c
the guest fails to boot.
An extra flag(set_power) is added in this patch to indicate if
pci_set_power is needed. After the device is powered
on(PCI_EXP_SLTCTL_PWR_ON), its power state will be set as normal
devices.
Fixes: 090b32b8dae6 ("implement slot power control for pcie root ports")
79 matches
Mail list logo