[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH][RESEND]Nvram patch for IA64


  • To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
  • From: "Yu Ke" <mr.yuke@xxxxxxxxx>
  • Date: Wed, 1 Nov 2006 21:14:49 +0800
  • Cc: Christian Limpach <christian.limpach@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Huang, Xinmei" <xinmei.huang@xxxxxxxxx>, "Yu, Ke" <ke.yu@xxxxxxxxx>
  • Delivery-date: Thu, 02 Nov 2006 13:34:57 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RBJ7bZ4jH5jR4w9Z7PSMUok7vYxxSVTm0kvHURdb30WwpvmkbAkxeRqLlv/gIdlOyZzvX6v6bI4SI3G/dhPtUqPa4IsGf4kgnka3pf/vDNrcF2Pu/GA6iP/vzV/QQcZcbzeFtLjjfkb20T7XR5tx/JiuzAI/nKFkkiho3nsx/gA=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

2006/11/1, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>:

I don't think you need the file path -- the data should be stored in the
xend 'database' until you come to export the VM.

Maybe I misunderstand something. the only database I see is the
xenstore database, in which we don't want to save nvram data. is there
another database?


After initialisation, all the writes to the data will come from qemu,
hence I don't see why you need data_in and data_out. Can't you just have
a 'data' node?

Ian


The reason of two node is that nvram is a bit special, since it need
to communicate with external data file, not just xenstore data.

To be more detail, the qemu need to read and write the data. Writing
is simple: just write to data_in node and trigger watch handler. read
is a little bit complex: qemu write index to data_out first, then
watch handler feed data into data_out, finally qemu read the data_out
node.

if there is xend database, maybe only one node is needed. need more
info from you.

Best Regards
Ke

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.