Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOZiQ-0001wP-L6 for qemu-devel@nongnu.org; Wed, 08 Jul 2009 12:09:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOZiL-0001so-BO for qemu-devel@nongnu.org; Wed, 08 Jul 2009 12:09:49 -0400 Received: from [199.232.76.173] (port=34622 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOZiK-0001sZ-3B for qemu-devel@nongnu.org; Wed, 08 Jul 2009 12:09:44 -0400 Received: from smtp.ctxuk.citrix.com ([62.200.22.115]:28882 helo=SMTP.EU.CITRIX.COM) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOZiJ-00060a-Mz for qemu-devel@nongnu.org; Wed, 08 Jul 2009 12:09:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-ID: <19028.50372.333318.144669@mariner.uk.xensource.com> Date: Wed, 8 Jul 2009 17:09:40 +0100 Subject: Re: [Qemu-devel] [PATCH 0/5] ATAPI pass through v2 In-Reply-To: <4A53D3B1.2020903@codemonkey.ws> References: <200907011931.53521.alexandre.bique@citrix.com> <20090707200327.GA3902@miranda.arrow> <4A53D2FD.4040004@codemonkey.ws> <5d3bb3090907071421i506a2f0bh5aca170c35a26f62@mail.gmail.com> <200907072344.33893.paul@codesourcery.com> <5d3bb3090907071550s6e832c45k804bca769aa57f70@mail.gmail.com> <4A53D3B1.2020903@codemonkey.ws> From: Ian Jackson List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Paul Brook , Alexandre Bique , qemu-devel@nongnu.org Anthony Liguori writes ("Re: [Qemu-devel] [PATCH 0/5] ATAPI pass through v2"): > No need for a switch IMHO. If a user is doing pass through, they ought > to expect that the guest has direct access to the device. The firmware of an IDE device can usually take over complete the control of the host, if it chooses to and knows how. So upgrading the firmware on the device is a lot more serious than just being able to break the device. It would allow the guest to escape containment. So this definitely needs to be disabled by default. Anthony Liguori writes ("Re: [Qemu-devel] [PATCH 0/5] ATAPI pass through v2"): > One should never rely on QEMU to enforce any security policy. That's > the job of the OS. I disagree entirely. The qemu process inevitably has access to an enormous amount of stuff that the guest shouldn't have, and in most cases users don't even run it as a different user. Or are you suggesting qemu should always be run in a chroot ? Or a VM perhaps ? qemu only safe run under Xen PV ? I don't think the KVM guys are really going to like that as a security policy ... > I'm sure something like SELinux can be used to prevent a root QEMU > process from doing a firmware upgrade. *boggle* You're not serious, are you ? Ian.