diff options
Diffstat (limited to 'hw/acpi.c')
-rw-r--r-- | hw/acpi.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -679,8 +679,12 @@ static uint32_t pciej_read(void *opaque, uint32_t addr) static void pciej_write(void *opaque, uint32_t addr, uint32_t val) { +#if defined (TARGET_I386) int slot = ffs(val) - 1; + pci_device_hot_remove_success(0, slot); +#endif + #if defined(DEBUG) printf("pciej write %lx <== %d\n", addr, val); #endif |