From mboxrd@z Thu Jan 1 00:00:00 1970 From: tgh Subject: Re: backend and frontend Date: Sat, 27 Jan 2007 20:21:40 +0800 Message-ID: <45BB43D4.4020909@ncic.ac.cn> References: <45B87975.E57C.0030.0@novell.com> <45B9619F.2060107@ncic.ac.cn> <20070126103242.GC575@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20070126103242.GC575@leeni.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ewan Mellor Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org hi Thank you for reply I read the wiki about the XenSplitDrivers and XenStoreReference , and I made a img file and create a vm with the img ,and the conf file is=20 like the follows kernel =3D "/boot/vmlinuz-2.6.16-xenU" memory =3D 256 name =3D "dom1" vcpus =3D 1 vif =3D [ '' ] disk =3D [ 'file:/vm/dom1.img,sda1,w' ] netmask =3D "255.255.0.0" gateway =3D "192.168.150.1" hostname =3D "office1" ip =3D "192.168.104.4" root =3D "/dev/sda1 ro" there will be a disk in the backend/vbd/domid/virtual-device in the=20 xenstore,isn`t it? Does xen support the vm to hotplug another virtual disk ,which is=20 accessed by dom0? If it does,what and how does xen deal with the backend and the xenstore? Are there two elements in the backend/vbd/domid/ in the xenstore? and what about the frontend in the vm ,are there two frontend in the vm=20 or just one? how to identify them then? If it does not ,what should we do to make it work? Does it need another frontend in the vm or not ? and how about the backend ? could you give me some guide ? Thanks in advance Ewan Mellor =E5=86=99=E9=81=93: > On Fri, Jan 26, 2007 at 10:04:15AM +0800, tgh wrote: > > =20 >> hi >> I try to understand the blkback and blkfront codes,and I am puzzled=20 >> about the initialization for both blkback and frontend. >> Does the blkback complete the initialization when the dom0 init ?and=20 >> when does the frontend in guestOS try to connet with the blkback in th= e=20 >> dom0? and how does the frontend do? how does the frontend register the= =20 >> relative entryes in the xenstore in the dom0? >> I am really puzzled ,could anyone help me? >> =20 > > http://wiki.xensource.com/xenwiki/XenSplitDrivers > http://wiki.xensource.com/xenwiki/XenStoreReference > > HTH, > > Ewan. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > =20