diff options
author | Marcel Apfelbaum | 2014-06-23 16:32:49 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2014-06-23 16:48:42 +0200 |
commit | 554f802da3f8b09b16b9a84ad5847b2eb0e9ad2b (patch) | |
tree | 6c6ae36db714a8a2540359af2154aaa393a6557c /include/hw/i2c/pm_smbus.h | |
parent | hw/pcie: implement power controller functionality (diff) | |
download | qemu-554f802da3f8b09b16b9a84ad5847b2eb0e9ad2b.tar.gz qemu-554f802da3f8b09b16b9a84ad5847b2eb0e9ad2b.tar.xz qemu-554f802da3f8b09b16b9a84ad5847b2eb0e9ad2b.zip |
hw/pcie: better hotplug/hotunplug support
The current code is broken: it does surprise removal which crashes guests.
Reimplemented the steps:
- Hotplug triggers both 'present detect change' and
'attention button pressed'.
- Hotunplug starts by triggering 'attention button pressed',
then waits for the OS to power off the device and only
then detaches it.
Fixes CVE-2014-3471.
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/i2c/pm_smbus.h')
0 files changed, 0 insertions, 0 deletions