Skip to content
  • Jan Kiszka's avatar
    memory: Rename readable flag to romd_mode · 5f9a5ea1
    Jan Kiszka authored
    
    
    "Readable" is a very unfortunate name for this flag because even a
    rom_device region will always be readable from the guest POV. What
    differs is the mapping, just like the comments had to explain already.
    Also, readable could currently be understood as being a generic region
    flag, but it only applies to rom_device regions.
    
    So rename the flag and the function to modify it after the original term
    "ROMD" which could also be interpreted as "ROM direct", i.e. ROM mode
    with direct access. In any case, the scope of the flag is clearer now.
    
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    5f9a5ea1