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/
Home Products Support Community News


Re: [Xen-users] How to communicate with Xen instance?

To: "Jochen Hebbrecht" <jochenhebbrecht@xxxxxxxxx>
Subject: Re: [Xen-users] How to communicate with Xen instance?
From: "Henning Sprang" <henning_sprang@xxxxxx>
Date: Tue, 6 Feb 2007 17:09:14 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 06 Feb 2007 08:09:06 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Hx7f1fXcE0kFrF7O8vestLOPsGho2fwosmjSL+dl9Bx4TiGAjqXoVTjW9ilLfW7vJpwiXQTNH6f3PSZBGDIz7FwYgEz5gw/T4ny4B5snLYzE6hKZptgnQdv46XituU+vx1M36N54HlX4Q/oVskKgJU6unh9T6xVOa6jppt7yaGQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <db99f77d0702060654i2e85af20ne7ede2444c9bc622@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <db99f77d0702060635v499a1113k9da3c7de37974b68@xxxxxxxxxxxxxx> <db99f77d0702060654i2e85af20ne7ede2444c9bc622@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 2/6/07, Jochen Hebbrecht <jochenhebbrecht@xxxxxxxxx> wrote:
I have a simple .cpp file and I want it to send it the virtual machine, let
it compile there and bring me back the result of the compilation and
executation. I think I could do it with scripting, but I don't quiet now how
to communicate? Using xm console? Or SSH? But how can I give the .cpp file
to the virtual machine? I have to tell him the code and tell him to compile
with g++ ...

There is no Xen specific API to let you place files in a guests
filesystem and run commands on them. So ssh might be the thing you
have to head for.

But, for curiosity, what are you doing there?
Sounds quite odd to send a cpp file again and again, to cpmpile and
execute is again and again.

Normally for distributed compilations, one uses distcc or maybe the
buildbot already mentioned.. And normally, when you want to execute a
specific command on a system, you compile it once, and only send the
binary to the machines that should execute it.


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>