[Qemu-devel] [PATCH v2 08/11] pci: introduce pci bus pre reset

2016-03-06 Thread Cao jin
From: Chen Fan in order to distinguish a hot reset with a normal reset. we add this pre reset call back to notice that we should do a hot reset for all devices. Signed-off-by: Chen Fan --- hw/core/qdev.c | 4 ++-- hw/pci/pci.c | 11 +++ hw/pci/pci_bridge.c |

[Qemu-devel] [PATCH v2 08/11] pci: introduce pci bus pre reset

2016-02-19 Thread Cao jin
From: Chen Fan in order to distinguish a hot reset with a normal reset. we add this pre reset call back to notice that we should do a hot reset for all devices. Signed-off-by: Chen Fan --- hw/core/qdev.c | 4 ++-- hw/pci/pci.c | 11 +++ hw/pci/pci_bridge.c |