On Tue, Jan 25, 2011 at 07:05:37PM +0100, Christoph Hellwig wrote: > On Tue, Jan 25, 2011 at 01:01:04PM +0100, Kevin Wolf wrote: > > > Can't resize if block migration is in progress. Don't see a problem > > > with simply disallowing resize in that case. > > > > Then we should add a check to bdrv_truncate. > > What check exactly would that be anyway?
Need to add the information to BlockDriver state. drive_del is also broken, it can be fixed later. Patch looks good to me.