mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
gdbsx_guestmemio: allow it to check domain
gdbsx_guest_mem_io() does not get d passed, it expects to handle the domain lookup itself. Specifically, the caller of XEN_DOMCTL_gdbsx_guestmemio is expected to use DOMID_IDLE to interact with the hypervisor, rather than a domain, which doesn't interact well with with the domain rcu lock. Signed-off-by: Don Slutz <dslutz@verizon.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
b58214a242
commit
2abed01bf4
1 file changed
+1
@@ -443,6 +443,7 @@ long do_domctl(XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl)
|
||||
case XEN_DOMCTL_createdomain:
|
||||
case XEN_DOMCTL_getdomaininfo:
|
||||
case XEN_DOMCTL_test_assign_device:
|
||||
case XEN_DOMCTL_gdbsx_guestmemio:
|
||||
d = NULL;
|
||||
break;
|
||||
default:
|
||||
|
||||