On 03/24/2017 12:44 PM, Markus Armbruster wrote:
> Signed-off-by: Markus Armbruster
> ---
> block/rbd.c | 7 +++
> 1 file changed, 7 insertions(+)
>
In short, since we have a QAPI enum of valid types, we should verify
that all members of the list match that enum.
Reviewed-by: Eric Blake
Signed-off-by: Markus Armbruster
---
block/rbd.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/block/rbd.c b/block/rbd.c
index e962641..19fd820 100644
--- a/block/rbd.c
+++ b/block/rbd.c
@@ -15,6 +15,7 @@
#include
#include "qapi/error.h"
+#include "qapi/util.h"
#include "qemu/e