From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEmkl-00088w-0H for qemu-devel@nongnu.org; Mon, 13 Jul 2015 19:03:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEmkh-000525-4B for qemu-devel@nongnu.org; Mon, 13 Jul 2015 19:03:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEmkh-000521-03 for qemu-devel@nongnu.org; Mon, 13 Jul 2015 19:03:11 -0400 References: <20150713200936.GK1606@HEDWIG.INI.CMU.EDU> From: Eric Blake Message-ID: <55A443A6.7040601@redhat.com> Date: Mon, 13 Jul 2015 17:03:02 -0600 MIME-Version: 1.0 In-Reply-To: <20150713200936.GK1606@HEDWIG.INI.CMU.EDU> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mDjtVrA72UFlW3ITfARQHsAg9OMgeEJFq" 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" , Laszlo Ersek Cc: matt.fleming@intel.com, mdroth@linux.vnet.ibm.com, rjones@redhat.com, jordan.l.justen@intel.com, "Gabriel L. Somlo" , qemu-devel@nongnu.org, gleb@cloudius-systems.com, kraxel@redhat.com, pbonzini@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mDjtVrA72UFlW3ITfARQHsAg9OMgeEJFq Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 07/13/2015 02:09 PM, Gabriel L. Somlo wrote: > 2. File names are listed in /sys/fs/fw_cfg/... with slashes replaced > exclamation marks, e.g.: Instead of inventing yet another escaping mechanism, can you mimic an already existing convention such as systemd's escaping? http://www.freedesktop.org/software/systemd/man/systemd-escape.html >=20 > # ls /sys/firmware/fw_cfg/ > bootorder etc!e820 etc!table-loader > etc!acpi!rsdp etc!smbios!smbios-anchor genroms!kvmvapic.bin > etc!acpi!tables etc!smbios!smbios-tables > etc!boot-fail-wait etc!system-states would name these files along the lines of 'etc-e820' and 'etc-boot\x2dfail\x2dwait', and the end user can then use systemd to unescape the names. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --mDjtVrA72UFlW3ITfARQHsAg9OMgeEJFq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVpEOmAAoJEKeha0olJ0NqAfgH/AhQPYjzxnJzhHDNnWfPtrjl tfWteOVa3DrgiaXQyjecCkO8MPz9/qPOJTPXYeV814TrYQWxoPrYi0ofzlwbXlW2 DFloo+A9NWQne3GMDYX2t1NbgjzaWlD9WO7HAn7LkPod/Byier/a2nXM3l0YqeFw 5roR36IXR6rcFLqs6gAQu4gHksMZkGX8izKWfAEPzwWbOCYk80vzY4RAYlr1RG7s KNCmgV9sp1STBvfpdEQse1cpb/QrjUaglJIqWEK4PAh5nvUodeEW4xlfxGYyRL/x Vm0AgrsCDdH4bNkE3CvOUjtI5SwUWr0OzZ/MiNBNsuSoNXeFekaTAbMQMTj02kA= =JHRl -----END PGP SIGNATURE----- --mDjtVrA72UFlW3ITfARQHsAg9OMgeEJFq--