[libvirt] [PATCH 0/4] Multiple problems with saving to block devices (v2)

2010-04-22 Thread Daniel P. Berrange
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

[libvirt] [PATCH 0/4] Multiple problems with saving to block devices

2010-04-21 Thread Daniel P. Berrange
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