Re: [Xen-devel] [PATCH] vm_event: Fix regression caused by b701ccc8

2016-02-08 Thread Ian Campbell
On Mon, 2016-02-08 at 09:39 +, Ian Campbell wrote: > On Fri, 2016-02-05 at 14:20 -0700, Tamas K Lengyel wrote: > > When xc_map_foreign_batch got deprecated reinitializing vm_event on a > > domain > > where an event listener was previously active broke as it relied on the > > flag > > XEN_DOMCTL

Re: [Xen-devel] [PATCH] vm_event: Fix regression caused by b701ccc8

2016-02-08 Thread Ian Campbell
On Fri, 2016-02-05 at 14:20 -0700, Tamas K Lengyel wrote: > When xc_map_foreign_batch got deprecated reinitializing vm_event on a domain > where an event listener was previously active broke as it relied on the flag > XEN_DOMCTL_PFINFO_XTAB to indicate that the magic page is not in the physmap. > M

[Xen-devel] [PATCH] vm_event: Fix regression caused by b701ccc8

2016-02-05 Thread Tamas K Lengyel
When xc_map_foreign_batch got deprecated reinitializing vm_event on a domain where an event listener was previously active broke as it relied on the flag XEN_DOMCTL_PFINFO_XTAB to indicate that the magic page is not in the physmap. Manually check the gpfn type, add it to the physmap if needed, and