[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 07/10] vm_event: Add vm_event_ng interface


  • To: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Fri, 19 Jul 2019 12:32:20 +0000
  • Accept-language: en-US
  • 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-SenderADCheck; bh=jRFu19EEj4Ou0Ssl6i4L0I1DDu8rROJuhxrheOXBMTk=; b=I4Q9ZsMG8avmfMPCFwDaoz46+v+MVDKKqwnsl9LZAGV/wb1jBSE8WMXsGxAT6UvadjVE6DFKEKB+gA/JauS66SW3USAzYkiXBSravvVrx3QgIgKfd3Pdn0pZaSQkxuOF/5p6bFNFZUghc1kqfixTeT6V1oit+IaiAvebmt1E4xeYC/WbEWCr0QtjAMpE0DREI6D1pDPWVjeIGfUxhfBPc0HuRGVOEF7YZ7p4GganR+ep4pcj+jqK3265P5BB/y7CUAdBMyYw31yh6JH+YlEtScuKGkgjsCWZiNZRsbxv7qem3oHEIuGUs8WzTbaMCjM7ssh0AJE8689gV2+Ua3G9XA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X88uvKlzhD0nhEO1z5WxQ8OufNSPuXZZGj6FVpIOnxwwd/Ic1RWI7QdmL4l80ceV06lJf9zB7GLBcLSnmoMFY1wKwGP59tK2UD755LCA5O6K0b06zV73W8/x3V8DzxEF5/jjmfyU7io3uA9BQQNv7CBB3FKckvwsNVhQJlCwf8XZtqHj540HsLwnijomwpoyWgV91+CsJ0t2bZyGj6HT4idgwbjWd5nFoDUsL1CbsfHcmd+Nsedq02m1DOIj9wi9wDSC4DtUW7xBkjVDXhKRQ/13PK9BnH5D0wrgG9otqTi7Fat+8kos7BEEmy2vjn/NmJmE6TPoAIjUd3SLQPXfBw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: 'Petre Ovidiu PIRCALABU' <ppircalabu@xxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx>, KonradRzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, "Tim \(Xen.org\)" <tim@xxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, JulienGrall <julien.grall@xxxxxxx>, Tamas K Lengyel <tamas@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Alexandru Stefan ISAILA <aisaila@xxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxx>, Roger PauMonne <roger.pau@xxxxxxxxxx>
  • Delivery-date: Fri, 19 Jul 2019 12:33:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVO/ja8zGHp8jkY0SwPhMewFAvpabOwNgAgAAfJACAAWdVAIABTcoA///mggCAACI9gIAAEGyAgAAuTSCAAAd6AA==
  • Thread-topic: [PATCH v2 07/10] vm_event: Add vm_event_ng interface

On 19.07.2019 14:11, Paul Durrant wrote:
>> -----Original Message-----
>> From: Petre Ovidiu PIRCALABU <ppircalabu@xxxxxxxxxxxxxxx>
>> Sent: 19 July 2019 12:24
>>
>> On Fri, 2019-07-19 at 08:26 +0000, Paul Durrant wrote:
>>>> From: Jan Beulich <JBeulich@xxxxxxxx>
>>>> Sent: 19 July 2019 09:22
>>>>
>>>> On 19.07.2019 09:56, Paul Durrant wrote:
>>>>> If that page is shared with the ID then
>>>>> XENMEM_rsrc_acq_caller_owned
>>>>> should *not* be set. Also, that flag is an 'out' flag... the
>>>>> caller
>>>>> doesn't decide who owns the resource.
>>>>
>>>> I had implied that it's really MD that's meant here, but maybe I
>>>> was
>>>> wrong doing so.
>>>>
>>>>> TBH I regret ever introducing the flag; it caused a lot of
>>>>> problems,
>>>> which is why it is no longer used.
>>>>
>>>> It's a tools only interface - why don't we drop the flag if you now
>>>> think it was a bad idea to introduce it?
>>>
>>> I was indeed thinking I should find enough tuits to do that in the
>>> near future.
>>>
>> Sorry, my mistake. I meant to say it's shared with MD.
>>
>> Many thanks for your support,
> 
> Ok, in that case please share with the ID instead.

But that's exactly what we want to avoid: If sharing at all, then
please with the more privileged entity. How would MD access the page
if it's shared with ID (which, aiui, has no business accessing the
page at all)?

Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.