Skip to content

ACPI: Call ACPI remove handler when handling ACPI eject

[email protected] linux-acpi lkml qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1ACPI: Call ACPI remove handler when handling ACPI eject eventdrivers/acpi/bus.c drivers/acpi/scan.c include/acpi/acpi_bus.h+4 -23 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Liu Ping Fan <[email protected]>

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