Received: from eggs.gnu.org ([2001:4830:134:3::10]:41577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy9dg-0001zF-Am for qemu-devel@nongnu.org; Mon, 08 Dec 2014 20:30:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xy9df-0005El-CS for qemu-devel@nongnu.org; Mon, 08 Dec 2014 20:30:56 -0500 Received: from ozlabs.org ([2401:3900:2:1::2]:37860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy9df-0005ED-0d for qemu-devel@nongnu.org; Mon, 08 Dec 2014 20:30:55 -0500 Date: Tue, 9 Dec 2014 12:30:31 +1100 From: Tony Breeds Message-ID: <20141209013031.GE19363@thor.bakeyournoodle.com> References: <20141205213518.GD84915@thor.bakeyournoodle.com> <20141208094812.GA29159@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EgVrEAR5UttbsTXg" Content-Disposition: inline In-Reply-To: <20141208094812.GA29159@redhat.com> Subject: Re: [Qemu-devel] Providing a mechanism to reopen() file based chardevs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: qemu-devel@nongnu.org --EgVrEAR5UttbsTXg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 08, 2014 at 09:48:12AM +0000, Daniel P. Berrange wrote: =20 > My long term desired approach to deal with this problem in OpenStack (and > other libvirt based mgmt apps) is to have a separate log daemon in libvirt > eg a virtlogd daemon. Take QEMU out of the business of writing to files > entirely and instead it would always just be a given a pipe FD which is > connected to the daemon. This avoidis the need to give QEMU permission to > open files at all, which is inline with our general security strategy for > host resources QEMU accesses. Hi Daniel, that sounds like a good plan and would certainly address the openstack = case but I still feel like hving something in qemu is a good idea as that doesn'= t stop an alternate fix in libvirt and it helps users that aren't using libvirt an= d qemu together. Having said that I'm willing to be directed by the qemu community. If they= feel that a libvirt only fix is best then that's where I'll spend my effort. =20 Yours Tony. --EgVrEAR5UttbsTXg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUhlC3AAoJEPvNNsFAAoTBSyoQANffYPJ9JcnCm8ze+TnyPNL/ Ypm9N9oc/d+0hSMDC95zMVplU++TED+V+Bg0Jv4V9c+Y7hNMFG8WXOiECUNzxWsL I1pUVQkNT8rKsputNmxMImuceanw8bjP40F0UrcQ1EJDQgWccCmYRieCXd5s3Gvr 0KsC0dkOTXVBmuHzqrD/aPt29lN9IPA4xu7qW5I9HsfHC1rCO7WxqdAfwcoBaqRb tusi7N0FTOeOptPunzkdUJZna23Wz54pg5bwakL+rT3iU+6K2ArZB4T/jcG/MIW5 AOCmi1j7c5fwacGMXbY4HdCtH6FVS2y6JjkFQd8P6WBtG5OhZ2A/lgi107hHTM37 FgmCCNaUZ5g+JD9/EGdoWkUvivsxl9jKRstCu/fcU+iMW0iFE+b7FMUUq5ZkRcpI dI0VNngjK6+Jyz/uKLIKGr8Y3IDRYhmMveGs/sdIEXgRh5/mwyXLwmEdV8WOWGd6 0mfw5r6V8+YG4SmsuVrRPBeTySGiYIoTstdnE+vcaSKXkDy4n0moAz9UDoAj92v6 SKyF4Vs/6wzEcaT23uIEz4jwdfu5duyjzGrxEO+bj3EyUwc9epHTtYNfHmUMuuum 1JlTcz6MIlVPYlts2NJojU2mdBSybFNuz/nfn08XDB1mz3X5HSFtxdnk1hoAY8oK ZdCdAgIuZBUlaHc23PIK =4hEO -----END PGP SIGNATURE----- --EgVrEAR5UttbsTXg--