From: "Larry White" Subject: Re: DomU to Dom0 Communication in Xen HVM? Date: Sat, 21 Jul 2012 13:02:11 -0500 Message-ID: References: <6035A0D088A63A46850C3988ED045A4B299B8A95@BITCOM1.int.sbss.com.au> <1E8F546AD8E64BF1B2D68D24F3BD4050@LarryE6400> <6035A0D088A63A46850C3988ED045A4B299B8F9D@BITCOM1.int.sbss.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: 'Konrad Rzeszutek Wilk' , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi Konrad, >On Tue, Jul 17, 2012 at 11:22:28PM -0500, LarryWhite wrote: >I am new to Xen and want to provide simple communication between my DomU >and >Dom0 environments. I just need to be able to pass a few bytes of >information back and forth between DomU and Dom0 while using some form of >event management to know when an update occurs so I can act on it. At >first, it appeared that using XenBus and XenStore might be the right >solution for this. However, after looking over the documentation, it seems >that XenBus and XenStore should only be used in a PVM Xen configuration, >not >a HVM model like mine. Is this true? >>It can be done in HVM. >What would be the best way to accomplish this? Is there any sample code >which demonstrates this for a HVM Xen environment? >>libvchan is your best bet. Have been looking at libvchan as you suggested. An additional bit of information that I left out on my original post was that I would like to do this in a "one to many" environment. In other words, I want to support data transfer from dom0 to a number of different domU's. Would an approach such as libvchan allow for this or would I need a separate process in dom0 for each of the different domU channels? I was really hoping to have a single process running in dom0 to manage this. Thanks, Larry