From mboxrd@z Thu Jan 1 00:00:00 1970 From: tgh Subject: confusion about blk-attach Date: Tue, 10 Apr 2007 10:06:56 +0800 Message-ID: <461AF140.2040700@ncic.ac.cn> References: <1449F58C868D8D4E9C72945771150BDFD96753@SAUSEXMB1.amd.com> <4601F50D.7030400@ncic.ac.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4601F50D.7030400@ncic.ac.cn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org hi I try to understand the code relative to blk-attach it seems like that device_creat()->createdevice()->addStoreEntries() ,add store entry into xenstore then backend and frontend will watch and do several related work to real add-device in backend and frontend ,is it right? and xenstore have watches to check the related entry ,is it right? I am confused ,which code or function to the real adding work I guess there is somekind watches which do it ,but I cannot find that fucntions I am confused about it could you help me Thanks in advance