From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication Date: Mon, 27 Jul 2009 15:37:13 -0500 Message-ID: <4A6E0FF9.6010308@codemonkey.ws> References: <1248717876-17630-1-git-send-email-amit.shah@redhat.com> <4A6E0C9E.10908@codemonkey.ws> <20090727203214.GG15020@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Amit Shah , qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org To: "Daniel P. Berrange" Return-path: Received: from rv-out-0506.google.com ([209.85.198.230]:21644 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753838AbZG0UhR (ORCPT ); Mon, 27 Jul 2009 16:37:17 -0400 Received: by rv-out-0506.google.com with SMTP id f6so934251rvb.1 for ; Mon, 27 Jul 2009 13:37:16 -0700 (PDT) In-Reply-To: <20090727203214.GG15020@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Daniel P. Berrange wrote: > 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. > Yeah, I'm not sure how something like this would interact with f-u-s. If copy/paste daemon for user foo opens /dev/vmch3 directly, when you switch users, how do you forcefully disconnect user foo from /dev/vmch3 so that user bad can start using it? Regards, Anthony Liguori > Daniel >