From: Ian Campbell Subject: Re: [PATCH v3 5/6] ioreq-server: add support for multiple servers Date: Mon, 17 Mar 2014 12:53:51 +0000 Message-ID: <1395060831.18221.3.camel@kazak.uk.xensource.com> References: <1394030881-5498-1-git-send-email-paul.durrant@citrix.com> <1394030881-5498-6-git-send-email-paul.durrant@citrix.com> <1394797941.6442.54.camel@kazak.uk.xensource.com> <9AAE0902D5BC7E449B7C8E4E778ABCD028CDD2@AMSPEX01CL01.citrite.net> <1395059736.7428.31.camel@kazak.uk.xensource.com> <9AAE0902D5BC7E449B7C8E4E778ABCD028CF3D@AMSPEX01CL01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD028CF3D@AMSPEX01CL01.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, 2014-03-17 at 12:51 +0000, Paul Durrant wrote: > > > > > diff --git a/tools/libxc/xc_domain_restore.c > > > > b/tools/libxc/xc_domain_restore.c > > > > > index 1f6ce50..3116653 100644 > > > > > --- a/tools/libxc/xc_domain_restore.c > > > > > +++ b/tools/libxc/xc_domain_restore.c > > > > > @@ -746,6 +746,7 @@ typedef struct { > > > > > uint64_t acpi_ioport_location; > > > > > uint64_t viridian; > > > > > uint64_t vm_generationid_addr; > > > > > + uint64_t nr_ioreq_servers; > > > > > > > > This makes me wonder: what happens if the source and target hosts do > > > > different amounts of disaggregation? Perhaps in Xen N+1 we split some > > > > additional component out into its own process? > > > > > > > > This is going to be complex with the allocation of space for special > > > > pages, isn't it? > > > > > > > > > > As long as we have enough special pages then is it complex? > > > > The "have enough" is where the complexity comes in though. If Xen > > version X needed N special pages and Xen X+1 needs N+2 pages then we > > have a tricky situation because people may well configure the guest with > > N. > > > > I don't quite follow. The specials are just part of the guest image > and so they get migrated around with that guest, so providing we know > how many special pages a guest had when it was created (so we know how > many there are to play with for secondary emulation) there's no > problem is there? What if the newer version of Xen requires more secondaries than the older one? That's the case I'm thinking of. Ian.