Revision 6f338c34 hw/acpi.c

b/hw/acpi.c
679 679

  
680 680
static void pciej_write(void *opaque, uint32_t addr, uint32_t val)
681 681
{
682
#if defined (TARGET_I386)
682 683
    int slot = ffs(val) - 1;
683 684

  
685
    pci_device_hot_remove_success(0, slot);
686
#endif
687

  
684 688
#if defined(DEBUG)
685 689
    printf("pciej write %lx <== %d\n", addr, val);
686 690
#endif

Also available in: Unified diff