From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsWHL-0001Uc-Of for qemu-devel@nongnu.org; Wed, 22 Aug 2018 12:46:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsWHH-0007Vk-QW for qemu-devel@nongnu.org; Wed, 22 Aug 2018 12:46:43 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:47570 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fsWHH-0007Tl-Ck for qemu-devel@nongnu.org; Wed, 22 Aug 2018 12:46:39 -0400 Date: Wed, 22 Aug 2018 17:46:33 +0100 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= Message-ID: <20180822164633.GT12750@redhat.com> Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= References: <20180822142956.6859-1-marcandre.lureau@redhat.com> <20180822142956.6859-4-marcandre.lureau@redhat.com> <20180822154611.GN12750@redhat.com> <20180822160614.GQ12750@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 3/3] seccomp: set the seccomp filter to all threads List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: pmoore@redhat.com, Eduardo Otubo , QEMU On Wed, Aug 22, 2018 at 06:39:52PM +0200, Marc-Andr=C3=A9 Lureau wrote: > Hi >=20 > On Wed, Aug 22, 2018 at 6:37 PM Marc-Andr=C3=A9 Lureau > wrote: > > > > Hi > > > > On Wed, Aug 22, 2018 at 6:08 PM Daniel P. Berrang=C3=A9 wrote: > > > We would have to make libvirt probe for tsync support too, because = it > > > now unconditionally uses -sandbox for new enough QEMU. > > > > sigh :( that's where the -sandbox tsync option could have been helpfu= l > > keeping the compatibility. >=20 > So what can libvirt do if tsync is not available? It depends how libvirt is configured. If /etc/libvirt/qemu.conf has seccomp=3D1, then we'd blindly start QEMU and expect QEMU to fail because -sandbox can't be usefully enforced. If qemu.conf has "seccomp" unset, then we'd simply not use -sandbox flag for any guests. Regards, Daniel --=20 |: https://berrange.com -o- https://www.flickr.com/photos/dberran= ge :| |: https://libvirt.org -o- https://fstop138.berrange.c= om :| |: https://entangle-photo.org -o- https://www.instagram.com/dberran= ge :|