__cpu_to_be16(
1 + __be16_to_cpu(
ddf->virt->populated_vdes));
- dprintf("%s: added VD %s in slot %d\n",
- __func__, guid_str(vd->entries[0].guid), ent);
+ dprintf("%s: added VD %s in slot %d(s=%02x i=%02x)\n",
+ __func__, guid_str(vd->entries[0].guid), ent,
+ ddf->virt->entries[ent].state,
+ ddf->virt->entries[ent].init_state);
}
ddf_set_updates_pending(ddf);
break;
case DDF_VD_CONF_MAGIC:
- dprintf("len %d %d\n", update->len, ddf->conf_rec_len);
-
mppe = __be16_to_cpu(ddf->anchor.max_primary_element_entries);
if ((unsigned)update->len != ddf->conf_rec_len * 512)
return;
for (vcl = ddf->conflist; vcl ; vcl = vcl->next)
if (memcmp(vcl->conf.guid, vc->guid, DDF_GUID_LEN) == 0)
break;
- dprintf("vcl = %p\n", vcl);
+ dprintf("%s: conf update for %s (%s)\n", __func__,
+ guid_str(vc->guid), (vcl ? "old" : "new"));
if (vcl) {
/* An update, just copy the phys_refnum and lba_offset
* fields