[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>, 'Jan Beulich' <JBeulich@xxxxxxxx>
  • From: Petre Ovidiu PIRCALABU <ppircalabu@xxxxxxxxxxxxxxx>
  • Date: Fri, 19 Jul 2019 11:23:47 +0000
  • Accept-language: ro-RO, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=bitdefender.com;dmarc=pass action=none header.from=bitdefender.com;dkim=pass header.d=bitdefender.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=r+3ytj+3yNUcRgAPDaQEKmAh6MKV4RX+nSrTbxLI/Ac=; b=gqCz6t9d8YpshdApkEoC/BmXeDFZMCgk9EhEuDSqUi24aX5BLwzyxc7UVXfVUO+7vtVuFBUoya7+PbiassCmhwlmCTCwJbap5T7BGpRlgh8FdWSS6giRL9OQi2yPzd+G2JcayetYWjUVDn7EtzhRmnFGHcRPGlca8uzOov86g9GsXqL6YCYSfOj5jMAJ9tEtPILTIZ5jW4pW4iKTFaoHoXkQAzHeHFgzmNFmb9QKL55APh0Ys7yNYKgBXn33LJMiJpfc1gmswVEAFP/XA8ievdcPMMqXzlfLrUaxC0dCTyE6L0UvVTCko3tTzGnhqRlsrUo+B6pegIzq0+iWDMUQqA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dc2s54ufxQKRCLz5Rc30bO2cyeVOeWQffhc8qV4nBCFUI9RaHqlt7yOiDze/c7vaXAvyYEatm8puHHvHpKw5quDCS6KQQA6YHVPQhUEA6ku2sOvGH4Sbh9CIEVvhHMkZJ/eLE3ZRlG48KJaXfRB1J4MvS7bDAqyXEab2CNlUBAKTZpTWTOSyQ7OJB1FwWJdMo1UIJHmnJcL/NfzcpO1YuC9TYBuVyvy+OxmPBpp+vqX4EEeBzSDnpqiItvBqn2kgyQ8NXGeHb2xX/pFzCTfYR1VxKXEMaePu9Lpr6tMwfQVk1zvXifSMAy7Abi801TLh/BH5ZmkwfmBXe/LchdUWuA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=ppircalabu@xxxxxxxxxxxxxxx;
  • Cc: 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 Pau Monne <roger.pau@xxxxxxxxxx>
  • Delivery-date: Fri, 19 Jul 2019 11:24:08 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVO/ji+ep3hd1WrES1BL2P0bM6cabOlq4AgABMy4CAAB8oAIABZ1KAgAEtDgCAAAdBAIAAAR2AgAAxiYA=
  • Thread-topic: [PATCH v2 07/10] vm_event: Add vm_event_ng interface

On Fri, 2019-07-19 at 08:26 +0000, Paul Durrant wrote:
> > -----Original Message-----
> > From: Jan Beulich <JBeulich@xxxxxxxx>
> > Sent: 19 July 2019 09:22
> > To: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
> > Cc: 'Petre Ovidiu PIRCALABU' <ppircalabu@xxxxxxxxxxxxxxx>;
> > JulienGrall <julien.grall@xxxxxxx>;
> > Alexandru Stefan ISAILA <aisaila@xxxxxxxxxxxxxxx>; Razvan Cojocaru
> > <rcojocaru@xxxxxxxxxxxxxxx>; Andrew
> > Cooper <Andrew.Cooper3@xxxxxxxxxx>; George Dunlap <
> > George.Dunlap@xxxxxxxxxx>; Ian Jackson
> > <Ian.Jackson@xxxxxxxxxx>; Roger Pau Monne <roger.pau@xxxxxxxxxx>;
> > Stefano Stabellini
> > <sstabellini@xxxxxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx;
> > KonradRzeszutek Wilk
> > <konrad.wilk@xxxxxxxxxx>; Tamas K Lengyel <tamas@xxxxxxxxxxxxx>;
> > Tim (Xen.org) <tim@xxxxxxx>; Wei Liu
> > <wl@xxxxxxx>
> > Subject: Re: [PATCH v2 07/10] vm_event: Add vm_event_ng interface
> > 
> > On 19.07.2019 09:56, Paul Durrant wrote:
> > > > From: Petre Ovidiu PIRCALABU <ppircalabu@xxxxxxxxxxxxxxx>
> > > > Sent: 18 July 2019 14:59
> > > > 
> > > > So, at this point the most promising solution is allocating the
> > > > memory
> > > > in XEN, sharing it with ID using share_xen_page_with_guest, and
> > > > mapping
> > > > it with xenforeignmemory_map_resource (with the flag
> > > > XENMEM_rsrc_acq_caller_owned set)
> > > 
> > > 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.
> 
>   Paul
> 
> > 
> > Jan
Sorry, my mistake. I meant to say it's shared with MD. 

Many thanks for your support,
Petre

_______________________________________________
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®.