KVM test: kvm_monitor.py: add convenience method get_event()

get_event() looks for and returns a single event matching the given name,
or None if none is found.

Signed-off-by: Michael Goldish <mgoldish@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4644 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed