>>> On 16.03.18 at 17:58, <paul.durr...@citrix.com> wrote: > Only in the legacy 'default server' case do we pass anything other than > current->domain->domain_id, and in that case we pass the value of > HVM_PARAM_DM_DOMAIN. > > The only known user of HVM_PARAM_DM_DOMAIN is qemu-trad, which always sets > it to DOMID_SELF (ignoring the return value of xc_set_hvm_param) [1] and > never reads it. > > This patch: > > - Disallows setting HVM_PARAM_DM_DOMAIN to anything other than DOMID_SELF > and removes the call to hvm_set_dm_domain(). > - Stops passing a domid to hvm_create_ioreq_server() > - Changes hvm_create_ioreq_server() to always set > current->domain->domain_id as the domid of the emulating domain > - Removes the hvm_set_dm_domain() implementation since it is no longer > needed. > > [1] > http://xenbits.xen.org/gitweb/?p=qemu-xen-traditional.git;a=blob;f=hw/xen_m > achine_fv.c;#l299 > > Signed-off-by: Paul Durrant <paul.durr...@citrix.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel