x86/gdbsx: invert preconditions for XEN_DOMCTL_gdbsx_{,un}pausevcpu hypercalls
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 25 Jul 2014 09:53:31 +0000 (11:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 25 Jul 2014 09:53:31 +0000 (11:53 +0200)
commit680d79f10bb70691a9ae3b4a6a8b669e0f2837f6
treed5aac4ce7955d5b9a265a33e62bea84d55b9c10e
parent125833f5f1f0403611bc762b3f1309bada138c54
x86/gdbsx: invert preconditions for XEN_DOMCTL_gdbsx_{,un}pausevcpu hypercalls

c/s 3eb1c708ab "properly reference count DOMCTL_{,un}pausedomain hypercalls"
accidentally inverted the use of d->controller_pause_count.

Revert back to how it was originally, i.e. the XEN_DOMCTL_gdbsx_{,un}pausevcpu
hypercalls are only valid for a domain already paused by the system controller.

Reported-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/domctl.c