All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: John Byrne <john.l.byrne@hp.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Running scripts at domain creation/destruction?
Date: Fri, 09 Dec 2005 20:23:17 -0600	[thread overview]
Message-ID: <439A3C15.3000702@us.ibm.com> (raw)
In-Reply-To: <439A29C4.8010901@hp.com>

Hi John,

John Byrne wrote:

>
> Are there any hooks for running generic scripts/apps in domain 0 when 
> a domain is created or destroyed? I don't see any such thing in 
> xend-config.sxp.

Since xend configuration files are just python scripts, you could add 
something to the config files.

> Taking it back a step, my desire is to have something in domain 0 
> export the xen console via VNC. The reason for wanting to be available 
> via VNC, is that we expect Anthony Ligouri's frame buffer work (or 
> something) to eventually provide a VNC virtual console for 
> para-virtualized domains. If and when that happens, our tool for 
> viewing consoles remotely will continue to work.
>
> Assuming that this is at all viable, does any have a piece of code for 
> libvncserver that might be useful as the interface between xenconsoled 
> and VNC?

There are a few VNC terminal programs--none are very good (including my 
own).  I've been exploring this area quite a bit.  This is a tough area 
b/c it takes a lot of work to be a full terminal emulator.

An interesting approach would be to use vncserver to create a VNC 
session with the resolution of an xterm and setup the vncrc file to only 
start an X term positioned at 0, 0.  If you don't start a window 
manager, and change the background/foreground color, it should give you 
what you're looking for.

Regards,

Anthony Liguori

> Thanks,
>
> John Byrne
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

  reply	other threads:[~2005-12-10  2:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-10  1:05 Running scripts at domain creation/destruction? John Byrne
2005-12-10  2:23 ` Anthony Liguori [this message]
2005-12-10 12:46 ` Ewan Mellor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=439A3C15.3000702@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=john.l.byrne@hp.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.