aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/vhost-scsi.c
diff options
context:
space:
mode:
authorAaron Young <Aaron.Young@oracle.com>2023-12-12 08:51:43 -0800
committerMichael S. Tsirkin <mst@redhat.com>2023-12-25 11:34:55 -0500
commit45e48809d3d0328fd2f113b878a62a27f1360664 (patch)
treebe8be5051003d260cc9fe34d534f152b4afe008c /hw/scsi/vhost-scsi.c
parent51396556f0927c3d202f9903db5aa5aa8d4cbd2c (diff)
downloadqemu-45e48809d3d0328fd2f113b878a62a27f1360664.zip
qemu-45e48809d3d0328fd2f113b878a62a27f1360664.tar.gz
qemu-45e48809d3d0328fd2f113b878a62a27f1360664.tar.bz2
hw/acpi: propagate vcpu hotplug after switch to modern interface
If a vcpu with an apic-id that is not supported by the legacy interface (>255) is hot-plugged, the legacy code will dynamically switch to the modern interface. However, the hotplug event is not forwarded to the new interface resulting in the vcpu not being fully/properly added to the machine config. This BUG is evidenced by OVMF when it it attempts to count the vcpus and reports an inconsistent vcpu count reported by the fw_cfg interface and the modern hotpug interface. Fix is to propagate the hotplug event after making the switch from the legacy interface to the modern interface. Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Aaron Young <aaron.young@oracle.com> Message-Id: <0e8a9baebbb29f2a6c87fd08e43dc2ac4019759a.1702398644.git.Aaron.Young@oracle.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/scsi/vhost-scsi.c')
0 files changed, 0 insertions, 0 deletions