trace: do not always call exit() in trace_enable_events
commitacc6809ddc45dd9a896c53ec7b61e66604923cd7
authorDenis V. Lunev <den@openvz.org>
Wed, 16 Mar 2016 11:36:51 +0000 (16 14:36 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 31 Mar 2016 08:48:59 +0000 (31 09:48 +0100)
tree71c05a099c728bbf38bfd7b7f457c747ac078663
parentab8eb29c4a221fe365e3d1b4744c6992ba5f11bd
trace: do not always call exit() in trace_enable_events

The problem is that
  virsh qemu-monitor-command --hmp VM log trace:help
forces QEMU to exit even when running VM normally.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1458128212-4197-2-git-send-email-den@openvz.org
CC: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
trace/control.c