avoid crash on HVM domain destroy with PCI passthrough
authorJuergen Gross <jgross@suse.com>
Tue, 10 Jun 2014 10:04:08 +0000 (12:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 10 Jun 2014 10:04:08 +0000 (12:04 +0200)
commitb9ae60907e6dbc686403e52a7e61a6f856401a1b
treebb71b996faecb6fc8cb5f5b1386cd7333becd854
parent895661ae98f0249f50280b4acfb9dda70b76d7e9
avoid crash on HVM domain destroy with PCI passthrough

c/s bac6334b5 "move domain to cpupool0 before destroying it" introduced a
problem when destroying a HVM domain with PCI passthrough enabled. The
moving of the domain to cpupool0 includes moving the pirqs to the cpupool0
cpus, but the event channel infrastructure already is unusable for the
domain. So just avoid moving pirqs for dying domains.

Signed-off-by: Juergen Gross <jgross@suse.com>
xen/common/schedule.c