[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communic
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication |
Date: |
Mon, 27 Jul 2009 21:32:14 +0100 |
User-agent: |
Mutt/1.4.1i |
On Mon, Jul 27, 2009 at 03:22:54PM -0500, Anthony Liguori wrote:
> Amit Shah wrote:
> >Hello all,
> >
> >This are the latest version of the patches.
> >
> >Lots of things have changed since the last submission. A few of
> >which I remember:
> >- VNC copy / paste works* (* conditions apply)
> > - client vnc copies get propagated to guest port 3 (/dev/vmch3)
> > - guest writes to port 3 (/dev/vmch3) go straight to client's clipboard
> >
>
> Why 3?
>
> Where's the guest application that drives the copy/paste?
>
> I expect the first problem you'll run into is that copy/paste daemon has
> to run as an unprivileged user but /dev/vmch3 is going to be owned by
> root. You could set udev rules for /dev/vmch3 but that's pretty
> terrible IMHO.
I don't think that's not too bad, for example, with fast-user-switching
between multiple X servers and/or text consoles, there's already support
code that deals with chown'ing things like /dev/snd/* devices to match
the active console session. Doing the same with the /dev/vmch3 device so
that it is only ever accessible to the current logged in user actually
fits in to that scheme quite well.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
- [Qemu-devel] virtio-serial: An interface for host-guest communication, Amit Shah, 2009/07/27
- [Qemu-devel] Re: virtio-serial: An interface for host-guest communication, Anthony Liguori, 2009/07/27
- Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication,
Daniel P. Berrange <=
- Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication, Anthony Liguori, 2009/07/27
- Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication, Jamie Lokier, 2009/07/27
- Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication, Anthony Liguori, 2009/07/27
- Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication, Amit Shah, 2009/07/28
- Message not available
- Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication, Amit Shah, 2009/07/29
- Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication, Gleb Natapov, 2009/07/29
- Message not available
- Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication, Anthony Liguori, 2009/07/28
- Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication, Richard W.M. Jones, 2009/07/28
- Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication, Anthony Liguori, 2009/07/28