vhost_dev_stop() and vhost_dev_disable_notifiers() are called in vhost_net_stop(), correct this comment.
Signed-off-by: Amos Kong <ak...@redhat.com> --- hw/vhost.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vhost.c b/hw/vhost.c index 0870cb7..640aff0 100644 --- a/hw/vhost.c +++ b/hw/vhost.c @@ -797,7 +797,7 @@ fail: return r; } -/* Host notifiers must be enabled at this point. */ +/* Host notifiers must be disabled at this point. */ void vhost_dev_stop(struct vhost_dev *hdev, VirtIODevice *vdev) { int i, r;