Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755749AbbBQHDE (ORCPT ); Tue, 17 Feb 2015 02:03:04 -0500 Received: from cantor2.suse.de ([195.135.220.15]:43780 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752217AbbBQHC7 (ORCPT ); Tue, 17 Feb 2015 02:02:59 -0500 From: Juergen Gross To: linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, konrad.wilk@oracle.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com Cc: Juergen Gross Subject: [PATCH V2 0/3] xen: pvscsi: avoid race, support suspend/resume Date: Tue, 17 Feb 2015 08:02:46 +0100 Message-Id: <1424156569-13642-1-git-send-email-jgross@suse.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 985 Lines: 27 In the pvscsi backend copy the frontend request to ensure it is not changed by the frontend during processing it in the backend. Support suspend/resume of the domain to be able to access a pvscsi device n the frontend afterwards. Changes in V2: - changed scsiback_do_cmd_fn() as sugested by Jan Beulich - added adaption of backend parameters in frontend after resuming Juergen Gross (3): xen: mark pvscsi frontend request consumed only after last read xen: scsiback: add LUN of restored domain xen: support suspend/resume in pvscsi frontend drivers/scsi/xen-scsifront.c | 214 ++++++++++++++++++++++++++++++++++++------- drivers/xen/xen-scsiback.c | 33 ++++--- 2 files changed, 199 insertions(+), 48 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/