[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 0/1] Introduce VCPUOP_reset_vcpu_info
On 22/08/14 10:08, Jan Beulich wrote: >>>> On 22.08.14 at 04:27, <konrad.wilk@xxxxxxxxxx> wrote: >> On Thu, Aug 21, 2014 at 12:35:36PM +0200, Vitaly Kuznetsov wrote: >>> Recreating domain and copying all memory should work but we'll require >>> host to have free memory, this can be an issue for large guests. If we >>> try implementing 'reassigning' of memory without making a copy that can >>> lead to same issues we have now: mounted grants, shared info,... >> >> That is a good point. Especially with 512GB guests. David, Jan, thoughts? > > No, the idea was really to re-use the memory rather than copy it. > Why would active grants or the use of shared info be a problem > (and particularly one worse than with the vCPU-info-reset > approach)? An initial prototype that copies the memory may be a useful first step as this will be straight-forward (most of the bits can be borrowed from save/restore). If the domain has mapped granted pages then the new domain should not retain the mappings (otherwise you will end up with a domain having mappings of a grant that does not agree with the domain in the granter's grant table). If the domain has granted pages, it should probably copy those pages and not reuse then (because updating the map tracking info is probably non-trivial). David _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |