From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGMIk-0007rM-SL for qemu-devel@nongnu.org; Tue, 18 Oct 2011 22:54:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGMIi-0001il-V5 for qemu-devel@nongnu.org; Tue, 18 Oct 2011 22:54:42 -0400 Received: from e28smtp08.in.ibm.com ([122.248.162.8]:59789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGMIi-0001iJ-5H for qemu-devel@nongnu.org; Tue, 18 Oct 2011 22:54:40 -0400 Received: from /spool/local by e28smtp08.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 19 Oct 2011 08:24:37 +0530 Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p9J2sZGJ3797234 for ; Wed, 19 Oct 2011 08:24:35 +0530 Received: from d28av03.in.ibm.com (loopback [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p9J2sYDA006864 for ; Wed, 19 Oct 2011 13:54:34 +1100 From: pingfank@linux.vnet.ibm.com Date: Wed, 19 Oct 2011 10:53:40 +0800 Message-Id: <1318992821-10552-1-git-send-email-pingfank@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/1] ACPI: Call ACPI remove handler when handling ACPI eject List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: linux-kernel@vger.kernel.org, seabios@seabios.org, lenb@kernel.org, shaohua.li@intel.com Cc: aliguori@us.ibm.com, Liu Ping Fan , qemu-devel@nongnu.org, dave@linux.vnet.ibm.com From: Liu Ping Fan 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