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

Re: [Xen-devel] [v10][PATCH 11/16] tools/libxl: detect and avoid conflicts with RDM

But another answer would be to take the union of the specified
regions.  That would be more complicated, because the union would have
to be computed.

               if (d_config->rdms[i].start == rdm_start)

That doesn't, of course, compute the union.

Sorry I don't understand what the "take the union of the specified
regions" is here.

A "region" is a subset of the address space.  I meant the set union:

That is, an address would be reserved if it was reserved in any of the
rdm regions implied by the config.

Are you saying this point?

"The union of two sets A and B is the set of elements which are in A, in B, or in both A and B."

The explicitly specified regions might overlap with the computed ones,
without being identical. Computing the union would not be entirely

Just to your example,

  libxl_domain_config cfg;
  cfg.stuff = blah;
  cfg.rdm.strategy = HOST;

  libxl_domain_create_new(&cfg, &domid);

Here looks you mean d_config->rdms would be changed, right? Currently this shouldn't be allowed. But I think we need to further discussion make this case clear after feature freeze since we didn't have this kind of assumption in our previous design.

  libxl_domain_create_new(&cfg, &domid);


Xen-devel mailing list



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