WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] XCP Feature propose - send/receive OS information using in

To: Marco Sinhoreli <msinhore@xxxxxxxxx>
Subject: Re: [Xen-API] XCP Feature propose - send/receive OS information using introspection
From: Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
Date: Mon, 20 Dec 2010 22:31:09 +0300
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Dave Scott <Dave.Scott@xxxxxxxxxxxxx>, xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 20 Dec 2010 11:32:08 -0800
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=selfip.ru; s=dk; h=Content-Transfer-Encoding:Mime-Version:Message-ID:Date:Content-Type:References:In-Reply-To:Cc:To:Reply-To:From:Subject; bh=1U8LoWvkMqCockrrn+rXO1Gv6+dHQbs5nGWCzZ87hEs=; b=ofN3Uil8Fr8CxpjKplcIOmzkKhoeVCXUG3LRRAYRr+vk4WHkGcDY8dF3YlIq8TLHQkrNLUq19XJoeS2unPtfyJFVjMeu6W/ZchXhrNPZ1M+F+Un+CRYhk8UpoElyhaT/;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinsn16hnKtFZ0pinjPsbb3hUwq-p1fgjdwhoDHu@xxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Organization: Selfip.Ru
References: <AANLkTinRZH68-QHdj_MuRvvGAuZF=R2u=zXv6kti6nV8@xxxxxxxxxxxxxx> <81A73678E76EA642801C8F2E4823AD21933254B577@xxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTi=HyU2EDZnusoLkNxnGLPwwvLn=f7Srf33SBf15@xxxxxxxxxxxxxx> <1291848114.2814.1.camel@mobile> <AANLkTi=9X3zQp0L01NpvyT6TghssSaBk1rDpa1_oTuLT@xxxxxxxxxxxxxx> <1291903672.30565.13.camel@vase> <AANLkTinsn16hnKtFZ0pinjPsbb3hUwq-p1fgjdwhoDHu@xxxxxxxxxxxxxx>
Reply-to: v.tolstov@xxxxxxxxx
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2010-12-20 at 14:11 -0200, Marco Sinhoreli wrote:
> I was trying some xenstore functions using the XenAPI and I think it
> not write the data on-line:
> 
> session = XenAPI.Session(url)
> session.xenapi.login_with_password(username, password)
> vm=session.xenapi.VM.get_by_uuid('31064e39-71d6-7a30-593d-b3d0e2db1552')
> session.xenapi.VM.add_to_xenstore_data(vm, 'orquestra', 'teste')
> print session.xenapi.VM.get_xenstore_data(vm)
> 
> 
> It is running ok but this information isn't showed into the VM using
> xenstore-read while its running. I think this function is to set only
> when the VM is halted.
> 
> Using xenstore directly in domain0 I can send and receive data between
> domain0 and domainU. I'm learning the toolstack to check if it is
> simple to implement.
> 
> Any ideia?


Xenstore can't provide transfer files functionality and can't be used to
store sensitive data, for example user can send fake data to xenstore...


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api