From: Avi Kivity Subject: Re: Re: [PATCH 3/5] x86/pvclock: add vsyscall implementation Date: Sun, 01 Nov 2009 11:28:49 +0200 Message-ID: <4AED54D1.6070706@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer Cc: Jeremy Fitzhardinge , kurt.hackel@oracle.com, Glauber Costa , the arch/x86 maintainers , Linux Kernel Mailing List , Glauber de Oliveira Costa , Xen-devel , Keir Fraser , zach.brown@oracle.com, Ingo Molnar , chris.mason@oracle.com List-Id: xen-devel@lists.xenproject.org On 10/29/2009 06:15 PM, Dan Magenheimer wrote: > On a related note, though some topic drift, many of > the problems that occur in virtualization due to migration > could be better addressed if Linux had an architected > interface to allow it to be signaled if a migration > occurred, and if Linux could signal applications of > the same. I don't have any cycles (pun intended) to > think about this right now, but if anyone else starts > looking at it, I'd love to be cc'ed. > IMO that's not a good direction. The hypervisor should not depend on the guest for migration (the guest may be broken, or malicious, or being debugged, or slow). So the notification must be asynchronous, which means that it will only be delivered to applications after migration has completed. Instead of a "migration has occured, run for the hills" signal we're better of finding out why applications want to know about this event and addressing specific needs. -- error compiling committee.c: too many arguments to function