From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933923Ab1KJI5k (ORCPT ); Thu, 10 Nov 2011 03:57:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:3341 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932301Ab1KJI5i convert rfc822-to-8bit (ORCPT ); Thu, 10 Nov 2011 03:57:38 -0500 From: Markus Armbruster To: Sasha Levin Cc: Pekka Enberg , Anthony Liguori , Pekka Enberg , Linus Torvalds , Avi Kivity , 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> Date: Thu, 10 Nov 2011 09:57:01 +0100 In-Reply-To: (Sasha Levin's message of "Thu, 10 Nov 2011 10:23:23 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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". > I'm actually not sure why KVM tool got QCOW support in the first > place. You can have anything QCOW provides if you use btrfs (among > several other FSs). Maybe it's just me, but isn't it weird to have a filesystem (QCOW2) sitting in the kernel sources that you can't mount(2)?