• W
    qmp: add internal snapshot support in qmp_transaction · bbe86010
    Wenchao Xia 提交于
    Unlike savevm, the qmp_transaction interface will not generate
    snapshot name automatically, saving trouble to return information
    of the new created snapshot.
    
    Although qcow2 support storing multiple snapshots with same name
    but different ID, here it will fail when an snapshot with that name
    already exist before the operation. Format such as rbd do not support
    ID at all, and in most case, it means trouble to user when he faces
    multiple snapshots with same name, so ban that case. Request with
    empty name will be rejected.
    
    Snapshot ID can't be specified in this interface.
    Signed-off-by: NWenchao Xia <xiawenc@linux.vnet.ibm.com>
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    bbe86010
qmp-commands.hx 83.1 KB