All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Pekka Enberg <penberg@kernel.org>
Cc: Avi Kivity <avi@redhat.com>, Asias He <asias.hejun@gmail.com>,
	Sasha Levin <levinsasha928@gmail.com>,
	Ingo Molnar <mingo@elte.hu>, Cyrill Gorcunov <gorcunov@gmail.com>,
	kvm@vger.kernel.org
Subject: Re: [PATCH 1/2] kvm tools: Export DISPLAY ENV as our default host ip address
Date: Wed, 5 Sep 2012 10:09:45 +0200	[thread overview]
Message-ID: <20120905080945.GB22644@gmail.com> (raw)
In-Reply-To: <CAOJsxLGCqFnOd2n2q0TNa+h0d020JyL3nFT4LcRRtS=mkSGAfw@mail.gmail.com>


* Pekka Enberg <penberg@kernel.org> wrote:

> On 08/24/2012 02:29 PM, Asias He wrote:
> >> It is useful to run a X program in guest and display it on host.
> >>
> >> 1) Make host's x server listen to localhost:6000
> >>    host_shell$ socat -d -d TCP-LISTEN:6000,fork,bind=localhost \
> >>                UNIX-CONNECT:/tmp/.X11-unix/X0
> >>
> >> 2) Start the guest and run X program
> >>    host_shell$ lkvm run -k /boot/bzImage
> >>   guest_shell$ xlogo
> 
> On Tue, Sep 4, 2012 at 4:07 PM, Avi Kivity <avi@redhat.com> wrote:
> > Note, this is insecure, don't do this with untrusted guests.
> 
> Asias, can we add a command line argument that enables this? 
> It'd be safer to keep it disabled by default.

It might also be prudent to name the option in a way that 
signals that the user of it understands the security 
implications:

	--X11-trusted-guest 1

or so.

Thanks,

	Ingo

  reply	other threads:[~2012-09-05  8:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-24 11:29 [PATCH 1/2] kvm tools: Export DISPLAY ENV as our default host ip address Asias He
2012-08-24 11:29 ` [PATCH 2/2] kvm tools: Mount devpts to /dev/pts Asias He
2012-09-04 13:07 ` [PATCH 1/2] kvm tools: Export DISPLAY ENV as our default host ip address Avi Kivity
2012-09-05  6:03   ` Asias He
2012-09-05  7:56     ` Avi Kivity
2012-09-05  9:19       ` Asias He
2012-09-05  9:29         ` Avi Kivity
2012-09-05  9:46           ` Asias He
2012-09-05  9:53             ` Avi Kivity
2012-09-05 10:14               ` Asias He
2012-09-05 11:56                 ` Avi Kivity
2012-09-06  3:32                   ` Asias He
2012-09-06  7:59                     ` Avi Kivity
2012-09-10  1:26                       ` Asias He
2012-09-10  8:19                         ` Avi Kivity
2012-09-05  8:00   ` Pekka Enberg
2012-09-05  8:09     ` Ingo Molnar [this message]
2012-09-05  9:16       ` Asias He
2012-09-05  9:13     ` Asias He

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=20120905080945.GB22644@gmail.com \
    --to=mingo@kernel.org \
    --cc=asias.hejun@gmail.com \
    --cc=avi@redhat.com \
    --cc=gorcunov@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=levinsasha928@gmail.com \
    --cc=mingo@elte.hu \
    --cc=penberg@kernel.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.