From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyfS3-0006oR-Dr for qemu-devel@nongnu.org; Wed, 31 Aug 2011 03:43:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyfS2-0006we-IL for qemu-devel@nongnu.org; Wed, 31 Aug 2011 03:43:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyfS2-0006wW-BU for qemu-devel@nongnu.org; Wed, 31 Aug 2011 03:43:10 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7V7h8el003669 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 31 Aug 2011 03:43:08 -0400 From: Amos Kong Date: Wed, 31 Aug 2011 15:43:48 +0800 Message-ID: <20110831074348.22973.7545.stgit@t> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] vhost: Fix typo in comment List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, mst@redhat.com vhost_dev_stop() and vhost_dev_disable_notifiers() are called in vhost_net_stop(), correct this comment. Signed-off-by: Amos Kong --- 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;