Skip to content
  • Markus Armbruster's avatar
    63d3145a
    fw_cfg: Adopt /opt/RFQDN convention · 63d3145a
    Markus Armbruster authored
    
    
    FW CFG's primary user is QEMU, which uses it to expose configuration
    information (in the widest sense) to Firmware.  Thus the name FW CFG.
    
    FW CFG can also be used by others for their own purposes.  QEMU is
    merely acting as transport then.  Names starting with opt/ are
    reserved for such uses.  There is no provision, however, to guide safe
    sharing among different such users.
    
    Fix that, loosely following QMP precedence: names should start with
    opt/RFQDN/, where RFQDN is a reverse fully qualified domain name you
    control.
    
    Based on a more ambitious patch from Michael Tsirkin.
    
    Cc: Gerd Hoffmann <kraxel@redhat.com>
    Cc: Gabriel L. Somlo <somlo@cmu.edu>
    Cc: Laszlo Ersek <lersek@redhat.com>
    Cc: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Acked-by: default avatarGabriel Somlo <somlo@cmu.edu>
    Reviewed-by: default avatarLaszlo Ersek <lersek@redhat.com>
    63d3145a
    fw_cfg: Adopt /opt/RFQDN convention
    Markus Armbruster authored
    
    
    FW CFG's primary user is QEMU, which uses it to expose configuration
    information (in the widest sense) to Firmware.  Thus the name FW CFG.
    
    FW CFG can also be used by others for their own purposes.  QEMU is
    merely acting as transport then.  Names starting with opt/ are
    reserved for such uses.  There is no provision, however, to guide safe
    sharing among different such users.
    
    Fix that, loosely following QMP precedence: names should start with
    opt/RFQDN/, where RFQDN is a reverse fully qualified domain name you
    control.
    
    Based on a more ambitious patch from Michael Tsirkin.
    
    Cc: Gerd Hoffmann <kraxel@redhat.com>
    Cc: Gabriel L. Somlo <somlo@cmu.edu>
    Cc: Laszlo Ersek <lersek@redhat.com>
    Cc: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Acked-by: default avatarGabriel Somlo <somlo@cmu.edu>
    Reviewed-by: default avatarLaszlo Ersek <lersek@redhat.com>
Loading