All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: libvir-list@redhat.com
Cc: Anthony PERARD <anthony.perard@citrix.com>,
	Xen Devel <xen-devel@lists.xen.org>
Subject: [PATCH] libxl: Set path to console on domain startup
Date: Fri, 5 Dec 2014 16:30:05 +0000	[thread overview]
Message-ID: <1417797006-27963-1-git-send-email-anthony.perard@citrix.com> (raw)

Hi,

I'm trying to fix an issue when using OpenStack with libvirt+xen (libxenlight).
OpenStack cannot access the console output of a Xen PV guest, because the XML
generated by libvirt for a domain is missing the path to the pty. The path
actually appear in the XML once one call virDomainOpenConsole().

The patch intend to get the path to the pty without having to call
virDomainOpenConsole, so I've done the work in libxlDomainStart(). So I have a
few question:
Is libxlDomainStart will be called on restore/migrate/reboot?
I guest the function libxlDomainOpenConsole() would not need to do the same
work if the console path is settup properly.

There is a bug report about this:
https://bugzilla.redhat.com/show_bug.cgi?id=1170743

Regards,

Anthony PERARD (1):
  libxl: Set path to console on domain startup.

 src/libxl/libxl_domain.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

-- 
Anthony PERARD

             reply	other threads:[~2014-12-05 16:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 16:30 Anthony PERARD [this message]
2014-12-05 16:30 ` [PATCH] libxl: Set path to console on domain startup Anthony PERARD
2014-12-08 15:40 ` [libvirt] " Ján Tomko
     [not found] ` <5485C654.7030503@redhat.com>
2014-12-08 16:41   ` Anthony PERARD
2014-12-08 18:55 ` Jim Fehlig
     [not found] ` <1417797006-27963-2-git-send-email-anthony.perard@citrix.com>
2014-12-05 19:08   ` Don Koch
2014-12-08 11:59   ` Ian Campbell
     [not found]   ` <1418039984.30016.15.camel@citrix.com>
2014-12-08 15:11     ` Anthony PERARD
     [not found]     ` <20141208151107.GB1900@perard.uk.xensource.com>
2014-12-08 15:14       ` Ian Campbell
2014-12-08 19:03   ` [libvirt] " Jim Fehlig
     [not found]   ` <5485F608.1080005@suse.com>
2014-12-09 11:47     ` Anthony PERARD

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=1417797006-27963-1-git-send-email-anthony.perard@citrix.com \
    --to=anthony.perard@citrix.com \
    --cc=libvir-list@redhat.com \
    --cc=xen-devel@lists.xen.org \
    /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.