qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: tiziano.mueller@stepping-stone.ch
Cc: spice-devel <spice-devel@lists.freedesktop.org>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [Spice-devel] spicevmv chardev, guest agents and paravirtual mouse
Date: Thu, 13 Jan 2011 11:54:09 +0100	[thread overview]
Message-ID: <4D2ED9D1.1020803@redhat.com> (raw)
In-Reply-To: <1294913997.470174.17.camel@storm>

   Hi,

>> (4) termial forwarding.  Just an idea right now.  Nowdays that the spice
>>       client side moves to gtk it would be easy to embed a termial widget,
>>       therby allowing easy access to the serial console using something
>>       like this:
>>
>>          -chardev spicevmc,id=console,type=terminal
>>          -device isa-serial,index=0,chardev=console
>
> I guess this could be used to get more info about the state of a VM from
> the host system (like "system is ready", "system is rebooting", etc),
> although it needs some adjustments in the guest to use the serial
> console and string parsing on the host.

That is really just for a terminal / serial console.  Running an guest 
agent protocol over a serial line instead of virtio-serial would be 
possible too, but that end would probably better handled by libvirt or 
some other management tool.

> Would it therefore make sense to
> have a another type to get such status messages from the guest and have
> a list of states defined somewhere? If yes, is this something which
> should be implemented in the spice-part or is this general qemu stuff?

It is general qemu stuff and how to design that best is the whole point 
of this agent discussion ;)

> Furthermore it would be nice if the client side could get a list of
> display resolutions supported in the guest and having the possibility to
> change the resolution when resizing the guest window. The vdagent
> protocol already has a message to pass this info but it only sends it
> when going into fullscreen mode.

That is just a client implementation thing.  The new spice-gtk client 
can send messages on window resize too.  Guest is supposed to pick the 
closest resolution it can handle.

> Yet another use case would be: authentication forwarding/injection to
> the guest OS. With smartcard-support you have something like that, but
> in our case we have the users authenticate against our management
> backend first before they get access to a VM and it would be kind of
> nice to be able to inject authentication data into the guest OS, either
> via the spice client or coming from the host OS.

Depends on the auth infrastructure whenever this is doable I guess.  If 
you are using x509 certificates the smartcard support should serve just 
fine.  I can also imagine that the guest can aquire kerberos tickets via 
spice-client or using some other agent for example (don't know kerberos 
good enougth to be sure though).

cheers,
   Gerd

      reply	other threads:[~2011-01-13 10:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 16:12 [Qemu-devel] spicevmv chardev, guest agents and paravirtual mouse Gerd Hoffmann
2011-01-12 17:40 ` Anthony Liguori
2011-01-12 18:59   ` [Spice-devel] " Hans de Goede
2011-01-12 19:28     ` Alon Levy
2011-01-12 19:36       ` Anthony Liguori
2011-01-12 19:34     ` Anthony Liguori
2011-01-13  9:25       ` Gerd Hoffmann
2011-01-13  9:12     ` Gerd Hoffmann
2011-01-13  8:52   ` Gerd Hoffmann
2011-01-13 10:19 ` [Qemu-devel] Re: [Spice-devel] " Tiziano Müller
2011-01-13 10:54   ` Gerd Hoffmann [this message]

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=4D2ED9D1.1020803@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=spice-devel@lists.freedesktop.org \
    --cc=tiziano.mueller@stepping-stone.ch \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).