[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/4] tools/libxc: Use an explicit check for PV MSRs in xc_domain_save()

On Thu, 2014-06-05 at 16:57 +0100, Andrew Cooper wrote:
> To avoid a race condition with the vcpu touching a new MSR between the
> two hypercalls, Xen must return the maximum possible msr_count with the
> request for size, so the toolstack can guarantee to allocate a large
> enough buffer.

If the msr_count returned a build time constant can't it just be part of
the interface then? Either as #define or an explicitly sized array type


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.