On Sun, Mar 10, 2013 at 11:05 AM, Dietmar Maurer <diet...@proxmox.com> wrote: >> Remove the BackupDumpFunc function pointer and write directly to a >> BlockDriverState. > > My callback approach is the generic one. You can easily implement the > BlockDriverState approach using the BackupDumpFunc?
Yes it can be implemented on top of BackupDumpFunc. But the approach I'm showing is that backup archive formats should not be implemented inside QEMU so the BackupDumpFunc is not needed. Stefan