[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block: for HMP commit() operations on 'all', sk
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] block: for HMP commit() operations on 'all', skip non-COW drives |
Date: |
Wed, 27 Feb 2013 09:20:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Jeff Cody <address@hidden> writes:
> During a commit of 'all' using the HMP non-live commit, the operation
> is aborted and returns error on the first error enountered. When
> non-COW drives are in use (e.g. ejected floppy, cdrom, or drives without
> a backing parent), that means a commit all will return an error of either
> -ENOMEDIUM or -ENOTSUP. This is not desirable, so for the 'all' commit
> case, only attempt the commit if both bs->drv and bs->backing_hd are
> present.
>
> More succinctly: 'commit all' now means a commit on all COW drives.
>
> This means an individual commit to a specific non-COW drive will still
> return the appropriate error (-ENOMEDIUM if eject / not present, -ENOTSUP
> if no backing file).
>
> Reported-by: Jan Kiszka <address@hidden>
> Signed-off-by: Jeff Cody <address@hidden>
Pointing to the commit that caused the regression would have been nice,
but it's not worth a respin.
- [Qemu-devel] [PATCH] block: for HMP commit() operations on 'all', skip non-COW drives, Jeff Cody, 2013/02/26
- Re: [Qemu-devel] [PATCH] block: for HMP commit() operations on 'all', skip non-COW drives, Paolo Bonzini, 2013/02/26
- Re: [Qemu-devel] [PATCH] block: for HMP commit() operations on 'all', skip non-COW drives, Kevin Wolf, 2013/02/26
- Re: [Qemu-devel] [PATCH] block: for HMP commit() operations on 'all', skip non-COW drives, Stefan Hajnoczi, 2013/02/26
- Re: [Qemu-devel] [PATCH] block: for HMP commit() operations on 'all', skip non-COW drives,
Markus Armbruster <=