X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=lib%2Fdiskimage_mbr.ml;h=009ef72c1b143448c9490e81ea56ab9bdec5b6e5;hb=8ecbebaf01f96a781ded3e24235697c62bc515b4;hp=34e4061726ab87f181440cbc902526117b3310a6;hpb=de49d4605c37574f38b55b400db310f368640c94;p=virt-df.git diff --git a/lib/diskimage_mbr.ml b/lib/diskimage_mbr.ml index 34e4061..009ef72 100644 --- a/lib/diskimage_mbr.ml +++ b/lib/diskimage_mbr.ml @@ -184,3 +184,13 @@ and uint64_of_int32 u32 = if u32 >= 0l then i64 else Int64.add i64 0x1_0000_0000_L *) + +(* XXX We don't currently keep enough data in the parts structure + * to allow us to reconstruct missing partition table entries. + *) +let offset_is_free _ _ = false + +let callbacks = { + parts_cb_probe = probe; + parts_cb_offset_is_free = offset_is_free; +}