|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] How to communicate with Xen instance?
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.
Henning
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|