Skip to content
  • David Gibson's avatar
    pseries: Implement PAPR NVRAM · 639e8102
    David Gibson authored
    
    
    The PAPR specification requires a certain amount of NVRAM, accessed via
    RTAS, which we don't currently implement in qemu.  This patch addresses
    this deficiency, implementing the NVRAM as a VIO device, with some glue to
    instantiate it automatically based on a machine option.
    
    The machine option specifies a drive id, which is used to back the NVRAM,
    making it persistent.  If nothing is specified, the driver instead simply
    allocates space for the NVRAM, which will not be persistent
    
    Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    639e8102