From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCHv2] virtio-net: stop vhost backend on vmstop Date: Fri, 4 Jun 2010 14:03:16 -0300 Message-ID: <20100604170316.GC25107@amt.cnet> References: <20100602180152.GA21861@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: "Michael S. Tsirkin" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:64869 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753282Ab0FDSUc (ORCPT ); Fri, 4 Jun 2010 14:20:32 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o54IKVUp019350 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 4 Jun 2010 14:20:31 -0400 Content-Disposition: inline In-Reply-To: <20100602180152.GA21861@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jun 02, 2010 at 09:01:52PM +0300, Michael S. Tsirkin wrote: > vhost net currently keeps running after vmstop, > which causes trouble as qemy does not check > for dirty pages anymore. > The fix is to simply keep vm and vhost running/stopped > status in sync. > > Tested-by: David L Stevens > Signed-off-by: Michael S. Tsirkin > --- > > Changes from v1: > Simplify code as suggested by Amit. > > hw/virtio-net.c | 11 +++++------ > 1 files changed, 5 insertions(+), 6 deletions(-) Applied, thanks.