[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 04/13] vpci: restrict unhandled read/write operations for guests
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
- Date: Tue, 8 Feb 2022 09:09:02 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=G0KkUCduQ6HfasSkTZ2teGTALX11N4n2SWZa1rCA//M=; b=bWl9OTlMQZk/kP+BixEWYQqYjxysC7jZKZ9gVfq+Q3ULTCysBvbeg3yhJZNDD5idK/KsgjYppht3GEq/OVtAF8C9rTHhU3B+e0mLQ+JRPSbR98+bd62bdF2wRPBckMX8o2SVaHb9/+VtfnYzf+v0u1VTi3BCKG0/doHjs8CqR9qxAn+cQDs61uuSi4QmaGVmyu/MrSEGJ11W3pKqvQyJB/cYUzAXdOOpv0Sb7slJDVKZOeFZrFUsEU6qNzF/MIyblnslRmqruQjWoe30lQcnlyH9gbnr1/30EX716R7//Nc5OF7O9RiSIsIEMlkj/LPE38+/IustIeB1Thiq4VSPGQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h6OGuQK6+MlxfamnnsUbjXhkxdpx9n1/eVPs39Oy2/ne3MhURO2ftk4vV7S+azoD8HQfJaZPSbcfdD58ZiSBsOFHLrSqkBhqG6xlm4Aekpx/FVeCIKHEO8nY0ChCZGG11DA8ypjkp6KdY5aMaQVcWikqvEo8kOFekyLT+oNyq03fbXXVbRS3ZS9aEy5K8pVQ3+P7xvrFjEvL+kCmap8GG8ZbpJGIBrDSQ9ukSvSbSgUqD5vXzNTtBAzyOGrmfB4sSGVYpfwSMrK2UYwGX+acDS0FACU7/dj6/hc4deWjYzyP4mkCyW/K/dW8c24VOKRR7j7tVK5XvDW858N9hjm4hg==
- Cc: "julien@xxxxxxx" <julien@xxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, Oleksandr Tyshchenko <Oleksandr_Tyshchenko@xxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Artem Mygaiev <Artem_Mygaiev@xxxxxxxx>, "andrew.cooper3@xxxxxxxxxx" <andrew.cooper3@xxxxxxxxxx>, "george.dunlap@xxxxxxxxxx" <george.dunlap@xxxxxxxxxx>, "paul@xxxxxxx" <paul@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Rahul Singh <rahul.singh@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>, "roger.pau@xxxxxxxxxx" <roger.pau@xxxxxxxxxx>
- Delivery-date: Tue, 08 Feb 2022 09:09:24 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHYGZFbf8/6pUr0mUKzbmboCx8QkqyDbvWAgAADnYCABd4pgIAAEgeAgAABIYA=
- Thread-topic: [PATCH v6 04/13] vpci: restrict unhandled read/write operations for guests
On 08.02.22 11:04, Jan Beulich wrote:
> On 08.02.2022 09:00, Oleksandr Andrushchenko wrote:
>> On 04.02.22 16:24, Oleksandr Andrushchenko wrote:
>>> On 04.02.22 16:11, Jan Beulich wrote:
>>>> On 04.02.2022 07:34, Oleksandr Andrushchenko wrote:
>>>>> A guest can read and write those registers which are not emulated and
>>>>> have no respective vPCI handlers, so it can access the HW directly.
>>>> I don't think this describes the present situation. Or did I miss where
>>>> devices can actually be exposed to guests already, despite much of the
>>>> support logic still missing?
>>> No, they are not exposed yet and you know that.
>>> I will update the commit message
>> BTW, all this work is about adding vpci for guests and of course this
>> is not going to be enabled right away.
>> I would like to hear the common acceptable way of documenting such
>> things: either we just say something like "A guest can read and write"
>> elsewhere or we need to invent something neutral not directly mentioning
>> what the change does. With the later it all seems a bit confusing IMO
>> as we do know what we are doing and for what reason: enable vpci for guests
> What's the problem with describing things as they are? Code is hwdom-
> only right now, and you're trying to enable DomU support. Hence it's
> all about "would be able to", not "can".
Sounds good, will use that wording then
>
> Jan
>
>
Thank you,
Oleksandr
|