Re: [Qemu-devel] [PATCH] block: Assert validity of BdrvActionOps

2013-09-12 Thread Eric Blake
On 09/12/2013 06:57 AM, Max Reitz wrote: > In qmp_transaction, assert that the BdrvActionOps to be used is actually > valid. > > This assertion failing is very improbable, however, it might happen, if > a new TransactionActionKind is introduced "out of order" and the > actions[] array is not updat

Re: [Qemu-devel] [PATCH] block: Assert validity of BdrvActionOps

2013-09-12 Thread Kevin Wolf
Am 12.09.2013 um 14:57 hat Max Reitz geschrieben: > In qmp_transaction, assert that the BdrvActionOps to be used is actually > valid. > > This assertion failing is very improbable, however, it might happen, if > a new TransactionActionKind is introduced "out of order" and the > actions[] array is

[Qemu-devel] [PATCH] block: Assert validity of BdrvActionOps

2013-09-12 Thread Max Reitz
In qmp_transaction, assert that the BdrvActionOps to be used is actually valid. This assertion failing is very improbable, however, it might happen, if a new TransactionActionKind is introduced "out of order" and the actions[] array is not updated. Signed-off-by: Max Reitz --- blockdev.c | 2 ++