From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZPwE-0006y8-Q0 for qemu-devel@nongnu.org; Sat, 21 Mar 2015 16:24:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZPw4-00009D-A9 for qemu-devel@nongnu.org; Sat, 21 Mar 2015 16:24:06 -0400 Received: from relay-04.andrew.cmu.edu ([128.2.105.169]:38341 helo=relay.andrew.cmu.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZPw4-00008j-5A for qemu-devel@nongnu.org; Sat, 21 Mar 2015 16:23:56 -0400 From: "Gabriel L. Somlo" Date: Sat, 21 Mar 2015 16:23:45 -0400 Message-Id: <1426969430-14941-1-git-send-email-somlo@cmu.edu> Subject: [Qemu-devel] [PATCH v3 0/5] fw-cfg: docs, cleanup, and user-provided cmdline blobs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: matt.fleming@intel.com, rjones@redhat.com, jordan.l.justen@intel.com, gleb@cloudius-systems.com, mdroth@linux.vnet.ibm.com, gsomlo@gmail.com, kraxel@redhat.com, pbonzini@redhat.com, lersek@redhat.com, armbru@redhat.com Document and clean up fw_cfg; additionally, allow user-provided blobs to be inserted into fw_cfg via the qemu command line. Changes since v2: - entire series depends on (applies on top of) another fw_cfg patch: (http://lists.nongnu.org/archive/html/qemu-devel/2015-03/msg04278.html) which is currently queued for 2.3.0-rc. - documentation (1/5) is now correct about all architectures using fw_cfg revision 0x1 :) - patches 2/5, 3/5, and 4/5 are unchanged - patch 5/5 (command-line insertion of fw_cfg blob) is now using qemu_opts_foreach() after machine_init, and is therefore compliant with -writeconfig and -readconfig (thanks again Laszlo, Gerd, and Markus for the quick tutorial!). Also, ee additional comments below the commit log in the actual patch message. Thanks, Gabriel Gabriel L. Somlo (5): fw_cfg: add documentation file (docs/specs/fw_cfg.txt) fw_cfg: remove support for guest-side data writes fw_cfg: prevent selector key conflict fw_cfg: prohibit insertion of duplicate fw_cfg file names fw_cfg: insert fw_cfg file blobs via qemu cmdline docs/specs/fw_cfg.txt | 226 ++++++++++++++++++++++++++++++++++++++++++++++ hw/nvram/fw_cfg.c | 45 ++------- include/hw/nvram/fw_cfg.h | 2 - qemu-options.hx | 11 +++ trace-events | 2 - vl.c | 63 +++++++++++++ 6 files changed, 308 insertions(+), 41 deletions(-) create mode 100644 docs/specs/fw_cfg.txt -- 2.1.0