[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Difference between commit and rebase
From: |
lampahome |
Subject: |
Re: [Qemu-discuss] Difference between commit and rebase |
Date: |
Fri, 23 Aug 2019 09:52:59 +0800 |
>
> Generally, rebase is going to be slower because it reads some clusters
> and compares the old with the new backing file to see whether they are
> the same. commit will not do that. (OTOH, if there are many clusters
> in the old backing chain that happen to contain the same data as the new
> one, this will save space, because it won’t copy those clusters from the
> old backing chain.)
>
But commit also can use -b to choose base image, won't it compare the old
with the new base?