From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVwbP-0001dO-JA for qemu-devel@nongnu.org; Tue, 24 Jan 2017 03:37:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVwbM-0004bC-HX for qemu-devel@nongnu.org; Tue, 24 Jan 2017 03:37:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41596) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVwbM-0004b4-C1 for qemu-devel@nongnu.org; Tue, 24 Jan 2017 03:37:16 -0500 From: Juan Quintela In-Reply-To: <1484566314-3987-6-git-send-email-ashijeetacharya@gmail.com> (Ashijeet Acharya's message of "Mon, 16 Jan 2017 17:01:54 +0530") References: <1484566314-3987-1-git-send-email-ashijeetacharya@gmail.com> <1484566314-3987-6-git-send-email-ashijeetacharya@gmail.com> Reply-To: quintela@redhat.com Date: Tue, 24 Jan 2017 09:37:12 +0100 Message-ID: <874m0oc0qv.fsf@emacs.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v6 5/5] migration: Fail migration blocker for --only-migratable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ashijeet Acharya Cc: dgilbert@redhat.com, jsnow@redhat.com, amit.shah@redhat.com, pbonzini@redhat.com, kwolf@redhat.com, armbru@redhat.com, mst@redhat.com, marcandre.lureau@redhat.com, groug@kaod.org, aneesh.kumar@linux.vnet.ibm.com, peter.maydell@linaro.org, qemu-devel@nongnu.org Ashijeet Acharya wrote: > migrate_add_blocker should rightly fail if the '--only-migratable' > option was specified and the device in use should not be able to > perform the action which results in an unmigratable VM. > > Make migrate_add_blocker return -EACCES in this case. > > Signed-off-by: Ashijeet Acharya Reviewed-by: Juan Quintela