From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFNMS-0001FU-AN for qemu-devel@nongnu.org; Wed, 15 Jul 2015 10:08:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFNMP-00088x-9q for qemu-devel@nongnu.org; Wed, 15 Jul 2015 10:08:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFNMP-00088r-5c for qemu-devel@nongnu.org; Wed, 15 Jul 2015 10:08:33 -0400 Date: Wed, 15 Jul 2015 17:08:27 +0300 From: "Michael S. Tsirkin" Message-ID: <20150715140827.GA16096@redhat.com> References: <20150713200936.GK1606@HEDWIG.INI.CMU.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150713200936.GK1606@HEDWIG.INI.CMU.EDU> 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: "Gabriel L. Somlo" 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, kraxel@redhat.com, imammedo@redhat.com, pbonzini@redhat.com, Laszlo Ersek 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. -- MST