[Xen-devel] Problem with IOMEM and domain reboot

2017-12-20 Thread Oleksandr Andrushchenko
Hi, all! While trying to reboot a domain which has iomem configured (we are passing through some devices), I found an issue, that after domain reboot those iomem's are incorrectly re-mapped, e.g. for the configuration snippet below fe960 -> 0. Part of the domain config I use: iomem=[     "0xfd01

Re: [Xen-devel] Problem with IOMEM and domain reboot

2018-01-31 Thread Oleksandr Andrushchenko
Ian, Wei, could you please take a look at the below? Thank you, Oleksandr On 12/20/2017 06:27 PM, Oleksandr Andrushchenko wrote: Hi, all! While trying to reboot a domain which has iomem configured (we are passing through some devices), I found an issue, that after domain reboot those iomem'

Re: [Xen-devel] Problem with IOMEM and domain reboot

2018-02-06 Thread Wei Liu
On Wed, Dec 20, 2017 at 06:27:02PM +0200, Oleksandr Andrushchenko wrote: > Hi, all! > > While trying to reboot a domain which has iomem configured > (we are passing through some devices), I found an issue, > that after domain reboot those iomem's are incorrectly re-mapped, > e.g. for the configura

Re: [Xen-devel] Problem with IOMEM and domain reboot

2018-02-06 Thread Oleksandr Andrushchenko
Hi, Wei! On 02/06/2018 02:36 PM, Wei Liu wrote: On Wed, Dec 20, 2017 at 06:27:02PM +0200, Oleksandr Andrushchenko wrote: Hi, all! While trying to reboot a domain which has iomem configured (we are passing through some devices), I found an issue, that after domain reboot those iomem's are inco

Re: [Xen-devel] Problem with IOMEM and domain reboot

2018-02-06 Thread Wei Liu
On Tue, Feb 06, 2018 at 02:44:56PM +0200, Oleksandr Andrushchenko wrote: > From aa1f20af73a5a3c8f2c904b857a79334d18d41ff Mon Sep 17 00:00:00 2001 > > > From: Oleksandr Andrushchenko > > > Date: Wed, 20 Dec 2017 17:51:18 +0200 > > > Subject: [PATCH] [HACK] Reset iomem's gfn to LIBXL_INVALID_GFN on

Re: [Xen-devel] Problem with IOMEM and domain reboot

2018-02-07 Thread Oleksandr Andrushchenko
On 02/06/2018 02:52 PM, Wei Liu wrote: On Tue, Feb 06, 2018 at 02:44:56PM +0200, Oleksandr Andrushchenko wrote: From aa1f20af73a5a3c8f2c904b857a79334d18d41ff Mon Sep 17 00:00:00 2001 From: Oleksandr Andrushchenko Date: Wed, 20 Dec 2017 17:51:18 +0200 Subject: [PATCH] [HACK] Reset iomem's gfn

Re: [Xen-devel] Problem with IOMEM and domain reboot

2018-02-12 Thread Oleksandr Grytsov
On Wed, Feb 7, 2018 at 2:14 PM, Oleksandr Andrushchenko wrote: > On 02/06/2018 02:52 PM, Wei Liu wrote: > >> On Tue, Feb 06, 2018 at 02:44:56PM +0200, Oleksandr Andrushchenko wrote: >> >>> From aa1f20af73a5a3c8f2c904b857a79334d18d41ff Mon Sep 17 00:00:00 2001 >>> From: Oleksandr Andrushche

Re: [Xen-devel] Problem with IOMEM and domain reboot

2018-02-13 Thread Wei Liu
On Mon, Feb 12, 2018 at 07:22:27PM +0200, Oleksandr Grytsov wrote: > On Wed, Feb 7, 2018 at 2:14 PM, Oleksandr Andrushchenko > wrote: > > > On 02/06/2018 02:52 PM, Wei Liu wrote: > > > >> On Tue, Feb 06, 2018 at 02:44:56PM +0200, Oleksandr Andrushchenko wrote: > >> > >>> From aa1f20af73a5a3c8f2

Re: [Xen-devel] Problem with IOMEM and domain reboot

2019-01-23 Thread Andrii Anisov
Hello Wei, On 13.02.18 14:24, Wei Liu wrote: On Mon, Feb 12, 2018 at 07:22:27PM +0200, Oleksandr Grytsov wrote: Is it done by design or there is an issue with parse_json? If it is done by design then the solution proposed by you (update_config hook) will solve this problem. But handling default

Re: [Xen-devel] Problem with IOMEM and domain reboot

2019-01-24 Thread Wei Liu
On Wed, Jan 23, 2019 at 06:28:46PM +0200, Andrii Anisov wrote: > Hello Wei, > > On 13.02.18 14:24, Wei Liu wrote: > > On Mon, Feb 12, 2018 at 07:22:27PM +0200, Oleksandr Grytsov wrote: > > > Is it done by design or there is an issue with parse_json? > > > If it is done by design then the solution