From mboxrd@z Thu Jan 1 00:00:00 1970 From: chenfan Date: Wed, 31 Jul 2013 03:56:27 +0000 Subject: a problem of preparing before cpu hot remove Message-Id: <1375242987.26515.72.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi All, Recently, I'm implementing cpu hot-remove for QEMU. I has a question that there is no chance for applications to prepare vcpu-hotremove before cpu down. For example, if user specify cpu-pin for some applications, and its cpu is removed, there is no notification to udev for preparing to do some repin before cpu down. the applications would not change setting before cpu down. I want to know that whether there is a scenario that can notify the applications for preparing before cpu down. and if preparing fails, I want the cpu remove failure. Thanks, Chen