[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline |
Date: |
Mon, 28 Sep 2015 13:46:33 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 09/28/2015 07:30 AM, Laszlo Ersek wrote:
>>
>> +Small enough items may be provided directly as strings on the command
>> +line, using the syntax:
>> +
>> + -fw_cfg [name=]<item_name>,content=<string>
>> +
>
> Please consider spelling out that these blobs will NOT be NUL-terminated
> when viewed on the guest. (It kinda follows from all the other fw_cfg
> things, but once we leave host-side files for qemu command line strings,
> it might become non-obvious to users.)
Or else GUARANTEE that it will be NUL-terminated (and the only way to
get blobs that are not NUL terminated is to use files rather than content=).
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline, Gabriel L. Somlo, 2015/09/26
- Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline, Laszlo Ersek, 2015/09/29
- Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline, Gabriel L. Somlo, 2015/09/29
- Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline,
Eric Blake <=
- Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline, Gabriel L. Somlo, 2015/09/29
- Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline, Eric Blake, 2015/09/29
- Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline, Laszlo Ersek, 2015/09/29
- Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline, Laszlo Ersek, 2015/09/29
- Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline, Gabriel L. Somlo, 2015/09/29
- Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline, Laszlo Ersek, 2015/09/29
- Re: [Qemu-devel] [PATCH] fw_cfg: insert string blobs via qemu cmdline, Gabriel L. Somlo, 2015/09/29