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: v.tolstov@xxxxxxxxx
Subject: Re: [Xen-API] XCP Feature propose - send/receive OS information using introspection
From: Marco Sinhoreli <msinhore@xxxxxxxxx>
Date: Mon, 20 Dec 2010 17:44:08 -0200
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Dave Scott <Dave.Scott@xxxxxxxxxxxxx>, xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 20 Dec 2010 11:44:20 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=6Itu07CzmI1v+QXfoTqZ9vUmIb8DAhrNxjy0MDDx1yI=; b=qf3DrtSSO/kPrjAKw7WxDFUh8nIQe3V5Cu7mnVY7onHPcyV3OXdKKc0yO9YZoDiE// 2iCA3Uf+C3QCWywJl9zWVDnLNA8gyMKLbji3UHZnR9JmKpldZU6VEiql0LXxZZAi9O9u SGkYL9SJfhf7eD1p2qQ82QwJlw58xZo+rzknE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ahsJpmT3g/z5Rndnnr/VD1GM/bSyEpJmRprbL1wSLHu+leewCJVNrt1odGhax8zTHy rOjwVL5n/u0ZN95AxD9U4dPZ1ifJV03s/5/Rf11xq8RRgIWmJMjCYK/SujuJ4g5XiZ2V 5PBP6l8RhrM4Ks5XYzT3VI/nmqmGpX3sJcPZY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1292873469.16141.1.camel@mobile>
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>
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> <1292873469.16141.1.camel@mobile>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
But I explain about a functionality implemented in Xen (xentore) and
it need only be encapsulated in xenapi. The data to send will be only
string and not to transfer files between domains. To use this function
the user need to have a valid session like others resources used in
api. I don't think it be a security issue.

On Mon, Dec 20, 2010 at 5:31 PM, Vasiliy G Tolstov <v.tolstov@xxxxxxxxx> wrote:
> 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...
>
>



-- 
Marco Sinhoreli

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