aboutsummaryrefslogtreecommitdiff
path: root/stubs/migr-blocker.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2023-01-12 15:02:54 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-01-28 06:21:29 -0500
commit219e638f3b3f3e34b5cf00c0a0d536a7e0155f70 (patch)
tree060545aaeff0bcc8f0ed3a53625377fb592b744c /stubs/migr-blocker.c
parentddab4d3fae4e8cb3b1d70c9f2364987ddc18c6a3 (diff)
downloadqemu-219e638f3b3f3e34b5cf00c0a0d536a7e0155f70.zip
qemu-219e638f3b3f3e34b5cf00c0a0d536a7e0155f70.tar.gz
qemu-219e638f3b3f3e34b5cf00c0a0d536a7e0155f70.tar.bz2
pcihp: do not put empty PCNT in DSDT
count number of PCNT methods that actually call Notify and if there aren't any, drop PCNT altogether. It mostly affects 'Q35' tests where there is no root-ports /bridges attached and 'PC' machine when ACPI PCI hotplug is completely disabled. Expected ASL change: - Method (PCNT, 0, NotSerialized) - { - } ... Method (_E01, 0, NotSerialized) // _Exx: Edge-Triggered GPE { - Acquire (\_SB.PCI0.BLCK, 0xFFFF) - \_SB.PCI0.PCNT () - Release (\_SB.PCI0.BLCK) } Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20230112140312.3096331-23-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'stubs/migr-blocker.c')
0 files changed, 0 insertions, 0 deletions