libxl: make hotplug execution conditional on backend_domid == domid
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 2 Oct 2013 09:24:25 +0000 (11:24 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 5 Nov 2013 11:40:49 +0000 (11:40 +0000)
commit19045bcf3b738f98718fc46e50b35e315c78cf3c
treef1421cbbafacbca35c3e327113664b3dcf5e030d
parent26609dab56fd64b07ccc0cfd7080dc37665fbdc1
libxl: make hotplug execution conditional on backend_domid == domid

libxl currently refuses to execute hotplug scripts if the backend
domid of a device is different than LIBXL_TOOLSTACK_DOMID. This will
prevent libxl from executing hotplug scripts when running on a domain
different than LIBXL_TOOLSTACK_DOMID, we should instead check if
backend_domid is different than current domid.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_device.c