
29 Mar
2017
29 Mar
'17
11:05 a.m.
On Wed, Mar 29, 2017 at 10:01:14 -0500, Eric Blake wrote:
On 03/29/2017 09:58 AM, Peter Krempa wrote:
When idx is 0 virStorageFileChainLookup returns the base (bottom) of the backing chain rather than the top. This is expected by the callers of qemuDomainGetStorageSourceByDevstr.
Add a special case for idx == 0 --- With this you are not able to specify the top image of a disk when using virDomainSetBlockThreshold in qemu.
src/qemu/qemu_domain.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
ACK
Pushed; thanks for the quick review! Peter