qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/1] ACPI: Call ACPI remove handler when handling ACPI eject
@ 2011-10-19  2:53 pingfank
  2011-10-19  2:53 ` [Qemu-devel] [PATCH 1/1] ACPI: Call ACPI remove handler when handling ACPI eject event pingfank
  0 siblings, 1 reply; 6+ messages in thread
From: pingfank @ 2011-10-19  2:53 UTC (permalink / raw)
  To: linux-kernel, seabios, lenb, shaohua.li
  Cc: aliguori, Liu Ping Fan, qemu-devel, dave

From: Liu Ping Fan <pingfank@linux.vnet.ibm.com>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [Qemu-devel] [PATCH 0/1] ACPI: Call ACPI remove handler when handling ACPI eject
@ 2011-10-19  2:47 pingfank
  0 siblings, 0 replies; 6+ messages in thread
From: pingfank @ 2011-10-19  2:47 UTC (permalink / raw)
  To: linux-acpi, seabios, lenb, shaohua.li
  Cc: Liu Ping Fan, aliguori, dave, linux-kernel, qemu-devel

From: Liu Ping Fan <pingfank@linux.vnet.ibm.com>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-20  8:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19  2:53 [Qemu-devel] [PATCH 0/1] ACPI: Call ACPI remove handler when handling ACPI eject pingfank
2011-10-19  2:53 ` [Qemu-devel] [PATCH 1/1] ACPI: Call ACPI remove handler when handling ACPI eject event pingfank
2011-10-19  3:50   ` canquan.shen
2011-10-20  8:08     ` liu ping fan
2011-10-20  8:34       ` canquan.shen
  -- strict thread matches above, loose matches on Subject: below --
2011-10-19  2:47 [Qemu-devel] [PATCH 0/1] ACPI: Call ACPI remove handler when handling ACPI eject pingfank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).