[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] vpci/header: cope with devices not having vpci allocated
- To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Thu, 25 May 2023 17:22:53 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kkFVCOGYL4an4mCcuOA6hS6maBBNiaz7sHi1Adol5Uw=; b=VH8WnybyegBYMBf6vLqRxe9VM1lvvXw+niyC8NNyJ5BwU19LQhX13cJd5qtKoPR63u33tx3WYYyazCwtrwNr1ZxABfhW8I6rPc73rGe6UTmCZM0P9na4gI11TjZUFTJlOw235az6lPBbzaMAzLZLEUjDnHdHat528kV3fblmkyoyq5jusEawsN5D/g1v0Eu4zd7r/a8kalW0i/A3N2It4GfHrrsDHoMd+oip6QTc49cgauwRPK7N8RVB3Va0XNH01cRpF//Lyf70xx0Xc9VOWK99hpiL8LnorBKWYMhWGpQMQmBNQP3q8WwUrL+hJyHJxQCHgolbhsB21gwwUk1Ieg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VWr7PFq8eUdUOg9Nr0Nh+S2L2FLQ9VQh2mXrf3rO4eVUQiDQLsEPuTZUDInfZXGMckESY1LXFWcgu2Zfiadd/f9BD11QLNMSutUkm4tWbkgtjxabUBKjPlt+6/tcmoofgicLezN7YF6m0Etyc3cQl+WfrkEAZDJnW7hytNtmLbsZMBFEDZb2HXOcgvq51n0ckwKja3IhvizbrkDzsFEjNgei9FaycEzCIYPA4ZLMvDLP6pdT6FUL0y5Xx67hxNtL0p2y1U8gVBHp37DUpTcKAVGZQ2uWdHR79tXMi9gxWXrInz0ncrvPsGx2QN9gYfuYt3gUvqZqYlyqrhXeH5R+KA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Thu, 25 May 2023 15:23:13 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 25.05.2023 16:54, Roger Pau Monne wrote:
> When traversing the list of pci devices assigned to a domain cope with
> some of them not having the vpci struct allocated. It should be
> possible for the hardware domain to have read-only devices assigned
> that are not handled by vPCI, such support will be added by further
> patches.
>
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
I was wondering whether to put an assertion in (permitting both DomXEN
and hwdom, i.e. slightly more relaxed than I had it).
Jan
|