From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933954Ab1KJJKe (ORCPT ); Thu, 10 Nov 2011 04:10:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24921 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932184Ab1KJJKc (ORCPT ); Thu, 10 Nov 2011 04:10:32 -0500 Message-ID: <4EBB94D9.30906@redhat.com> Date: Thu, 10 Nov 2011 11:09:45 +0200 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Sasha Levin CC: Markus Armbruster , Pekka Enberg , Anthony Liguori , Pekka Enberg , Linus Torvalds , Andrew Morton , Ingo Molnar , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Christoph Hellwig Subject: Re: [RFC/GIT PULL] Linux KVM tool for v3.2 References: <4EBB4A21.20707@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/10/2011 11:04 AM, Sasha Levin wrote: > On Thu, Nov 10, 2011 at 10:57 AM, Markus Armbruster wrote: > > Sasha Levin writes: > > > >> On Thu, Nov 10, 2011 at 9:57 AM, Markus Armbruster wrote: > > [...] > >>> Start with a clean read/write raw image. Probing declares it raw. > >>> Guest writes QCOW signature to it, with a backing file of its choice. > >>> > >>> Restart with the same image. Probing declares it QCOW2. Guest can read > >>> the backing file. Oops. > >> > >> Thats an excellent scenario why you'd want to have 'Secure KVM' with > >> seccomp filters :) > > > > Yup. > > > > For what it's worth, sVirt (use SELinux to secure virtualization) > > mitigates the problem. Doesn't mean we couldn't use "Secure KVM". > > How does it do it do that? You have a hypervisor trying to read > arbitrary files on the host FS, no? Trying and failing. sVirt will deny access to all files except those explicitly allowed by libvirt. -- error compiling committee.c: too many arguments to function