Received: from eggs.gnu.org ([208.118.235.92]:39160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhjMT-0005uU-HC for qemu-devel@nongnu.org; Wed, 29 May 2013 12:36:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhjMO-00015Y-Q6 for qemu-devel@nongnu.org; Wed, 29 May 2013 12:36:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhjMO-00015L-I1 for qemu-devel@nongnu.org; Wed, 29 May 2013 12:36:24 -0400 From: Markus Armbruster References: <20130523124132.GA18596@redhat.com> <20130528235309.GA31648@morn.localdomain> <51A5C117.6000609@redhat.com> <871u8p92v8.fsf@codemonkey.ws> Date: Wed, 29 May 2013 18:35:56 +0200 In-Reply-To: <871u8p92v8.fsf@codemonkey.ws> (Anthony Liguori's message of "Wed, 29 May 2013 11:18:03 -0500") Message-ID: <87vc61spzn.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [SeaBIOS] KVM call agenda for 2013-05-28 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: KVM devel mailing list , Juan Quintela , seabios@seabios.org, qemu-devel qemu-devel , Kevin O'Connor , "Michael S. Tsirkin" , Gerd Hoffmann , dwmw2@infradead.org Anthony Liguori writes: > Gerd Hoffmann writes: > >> On 05/29/13 01:53, Kevin O'Connor wrote: >>> On Thu, May 23, 2013 at 03:41:32PM +0300, Michael S. Tsirkin wrote: >>>> Juan is not available now, and Anthony asked for >>>> agenda to be sent early. >>>> So here comes: >>>> >>>> Agenda for the meeting Tue, May 28: >>>> >>>> - Generating acpi tables >>> >>> I didn't see any meeting notes, but I thought it would be worthwhile >>> to summarize the call. This is from memory so correct me if I got >>> anything wrong. >>> >>> Anthony believes that the generation of ACPI tables is the task of the >>> firmware. Reasons cited include security implications of running more >>> code in qemu vs the guest context, >> >> I fail to see the security issues here. It's not like the apci table >> generation code operates on untrusted input from the guest ... > > But possibly untrusted input from a malicious user. You can imagine > something like a IaaS provider that let's a user input arbitrary values > for memory, number of nics, etc. > > It's a stretch of an example, I agree, but the general principle I think > is sound: we should push as much work as possible to the least > privileged part of the stack. In this case, firmware has much less > privileges than QEMU. Firmware runs in a primitive, unforgiving environment, and should do as little as humanly possible. For an instructive example of deviating from that rule, check out UEFI. [...]