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

Re: [Xen-devel] [PATCH] arch/x86/hvm: Bind xen-created event channels to building domain



On 09/01/2013 15:30, "Daniel De Graaf" <dgdegra@xxxxxxxxxxxxx> wrote:

> I was considering making HVM_PARAM_DM_DOMAIN effectively default to
> DOMID_SELF for the domain builder with the below patch, since the most
> logical place to set the parameter in libxl (hvm_build_set_params called
> by libxl__build_hvm) is called after vcpus are initialized in
> libxl__build_pre, which means the event channels will be assigned to
> domain 0 for a short time and then reassigned later.  It looks like
> waiting for the device model domain to be started will also be
> significantly later in the build process, since it's done in the
> callbacks after adding disks.  While this is probably harmless, it just
> seems cleaner to initialize it to the domain ID from the start.

Xen handles doing it later just fine. I don't think any further patches to
Xen are required -- just do an hvm_set_param() call at any convenient time
from the toolstack.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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