Marcel Apfelbaum 554f802da3 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>
2014-06-23 17:48:42 +03:00
..
2013-12-24 18:02:18 +01:00
2014-06-20 16:22:07 +01:00
2014-06-16 18:26:21 +01:00
2014-06-19 18:44:22 +03:00
2014-05-28 17:36:21 +02:00
2014-06-20 23:40:16 +02:00
2014-06-16 13:24:38 +02:00
2014-06-16 13:24:26 +02:00
2014-06-10 09:50:27 +02:00
2014-05-28 17:36:21 +02:00
2013-08-22 19:10:27 +02:00
2014-05-07 18:38:39 +01:00