|
From: | Benoît Canet |
Subject: | Re: [Qemu-devel] [PATCH v2 04/23] block: Connect BlockBackend and DriveInfo |
Date: | Tue, 16 Sep 2014 12:38:48 +0000 |
User-agent: | Mutt/1.5.21 (2010-09-15) |
> +DriveInfo *blk_legacy_dinfo(BlockBackend *blk) > +{ > + return blk->legacy_dinfo; > +} > + > +/* > + * Set @blk's DriveInfo to @dinfo, and return it. > + * @blk must not have a DriveInfo set already. > + * No other BlockBackend may have the same DriveInfo set. Must we try to assert this ? This would require an extra linked list traversal but I don't think it's a performance path anyway. Reviewed-by: Benoît Canet <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |