qgraph: fix qos_node_contains with options
commit7d8ada6e4d20b47dcf42d22fc62599a9799eac7a
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Mar 2019 16:14:12 +0000 (18 17:14 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Jun 2019 12:03:01 +0000 (3 14:03 +0200)
treefd3d6e5fb000706ccb067b35026986535ac4b387
parentde94b54aa04c06f5988221d2d7e6ee3469173c4b
qgraph: fix qos_node_contains with options

Currently, if qos_node_contains was passed options, it would still
create an edge without any options.  Instead, in that case
NULL acts as a terminator.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/libqos/qgraph.c
tests/libqos/qgraph.h