Received: from eggs.gnu.org ([2001:4830:134:3::10]:41529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFPTC-0005of-De for qemu-devel@nongnu.org; Wed, 15 Jul 2015 12:23:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFPT9-0001Mu-O4 for qemu-devel@nongnu.org; Wed, 15 Jul 2015 12:23:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFPT9-0001Mi-JH for qemu-devel@nongnu.org; Wed, 15 Jul 2015 12:23:39 -0400 Date: Wed, 15 Jul 2015 18:01:42 +0200 From: Igor Mammedov Message-ID: <20150715180142.34dbbf69@igors-macbook-pro.local> In-Reply-To: <20150715140827.GA16096@redhat.com> References: <20150713200936.GK1606@HEDWIG.INI.CMU.EDU> <20150715140827.GA16096@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] RFC: guest-side retrieval of fw_cfg file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: matt.fleming@intel.com, gleb@cloudius-systems.com, qemu-devel@nongnu.org, jordan.l.justen@intel.com, "Gabriel L. Somlo" , mdroth@linux.vnet.ibm.com, rjones@redhat.com, "Gabriel L. Somlo" , kraxel@redhat.com, pbonzini@redhat.com, Laszlo Ersek On Wed, 15 Jul 2015 17:08:27 +0300 "Michael S. Tsirkin" wrote: > On Mon, Jul 13, 2015 at 04:09:37PM -0400, Gabriel L. Somlo wrote: > > Hi, > > > > A while ago I was pondering on the options available for retrieving > > a fw_cfg blob from the guest-side (now that we can insert fw_cfg > > files on the host-side command line, see commit 81b2b8106). > > > > So over the last couple of weekends I cooked up the sysfs kernel > > module below, which lists all fw_cfg files > > under /sys/firmware/fw_cfg/. > > One concern here is that there will be a conflict here if fw cfg > is used by ACPI. I don't know whether that last is a good idea > though, so maybe not a real concern. I think Igor > wanted to make it so. I don't see any conflict here so far, it's just guest side module that accesses fw_cfg.