[PATCH 0/1] ACPI: Call ACPI remove handler when handling ACPI eject

From: pingfank
Date: Tue Oct 18 2011 - 22:54:41 EST


From: Liu Ping Fan <pingfank@xxxxxxxxxxxxxxxxxx>

When I tried to enable cpu hotplug feature for qemu-kvm, I found that the ACPI device eject event just skipped by kernel.

static void acpi_bus_notify(acpi_handle handle, u32 type, void *data)
{
case ACPI_NOTIFY_EJECT_REQUEST:
/* TBD */---> skipped from here
}

But I notice, in drivers/acpi/dock.c, dock_notify()->handle_eject_request() will handle such event for ACPI _dock device.
So what we shall do, changing Qemu's SeaBIOS or changing the kernel? If changing SeaBIOS, will it affect guest MS-Window?



Thanks,
ping fan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/