• E
    snapshot: s/current/parent/ as prep for virObject · 098043ed
    Eric Blake 提交于
    VIR_CLASS_NEW insists that descendents of virObject have 'parent' as
    the name of their inherited base class member at offset 0. While it
    would be possible to write a new class-creation macro that takes the
    actual field name 'current', and rewrite VIR_CLASS_NEW to call the new
    macro with the hard-coded name 'parent', it seems less confusing if
    all object code uses similar naming. Thus, this is a mechanical rename
    in preparation of making virDomainSnapshotDef a descendent of
    virObject.
    Signed-off-by: NEric Blake <eblake@redhat.com>
    Acked-by: NPeter Krempa <pkrempa@redhat.com>
    098043ed
qemu_domain.c 436.7 KB