Received: from eggs.gnu.org ([2001:4830:134:3::10]:60016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzj2H-00076U-RU for qemu-devel@nongnu.org; Thu, 27 Oct 2016 07:39:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzj2B-0001Hg-QA for qemu-devel@nongnu.org; Thu, 27 Oct 2016 07:39:53 -0400 Received: from [209.132.183.28] (port=54876 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzj2B-0001Bt-KP for qemu-devel@nongnu.org; Thu, 27 Oct 2016 07:39:47 -0400 Date: Thu, 27 Oct 2016 09:39:09 -0200 From: Eduardo Habkost Message-ID: <20161027113909.GG5057@thinpad.lan.raisama.net> References: <1477509718-6969-1-git-send-email-ehabkost@redhat.com> <1477509718-6969-3-git-send-email-ehabkost@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 2/4] e1000e: No need to validate configuration on migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dmitry Fleytman Cc: qemu-devel@nongnu.org, Jason Wang On Thu, Oct 27, 2016 at 09:42:53AM +0300, Dmitry Fleytman wrote: >=20 > > On 26 Oct 2016, at 22:21 PM, Eduardo Habkost wr= ote: > >=20 > > The user (or management software) is responsible for keeping the > > same configuration on both sides while migrating. Remove the > > configuration validation code at e1000e_post_load, and the > > unnecessary subsys_used/subsys_ven_used fields. >=20 > Migration with different subsys/subsys_ven may have a > really cumbersome consequences that are very hard to debug, > so I believe such a verification may save a lot of time, > however it=E2=80=99s a matter of convention. The same issues apply to almost every other property on every other device. But the convention is to not expect devices to validate configuration changes on migration. (It would be nice to have a more generic mechanism that detects configuration mismatch on migration, though. Having each device manually checking each of its properties wouldn't work). --=20 Eduardo