Update of
https://www.redhat.com/archives/libvir-list/2010-April/msg00912.html
Changes this time:
- Pad header/xml to multiple of 512
- Set dd block size & seek as a muliplier of that
- Invert check for block dev, to check for regular file instead
--
libvir-list mailing list
libvir-list@redh
This patch series makes it possible to save to a block device,
instead of a plain file. There were multiple problems
- WHen save failed, we might de-reference a NULL pointer
- When save failed, we unlinked the device node !!
- The approach of using >> to append, doesn't work with block devices