• Juan Quintela's avatar
    migration: Use normal VMStateDescriptions for Subsections · 5cd8cada
    Juan Quintela authored
    
    
    We create optional sections with this patch.  But we already have
    optional subsections.  Instead of having two mechanism that do the
    same, we can just generalize it.
    
    For subsections we just change:
    
    - Add a needed function to VMStateDescription
    - Remove VMStateSubsection (after removal of the needed function
      it is just a VMStateDescription)
    - Adjust the whole tree, moving the needed function to the corresponding
      VMStateDescription
    
    Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
    5cd8cada