* [PATCH]: gdbsx: send virq to guest if gdbsx_vcpu_event is not active
@ 2012-06-08 18:07 Mukesh Rathor
0 siblings, 0 replies; only message in thread
From: Mukesh Rathor @ 2012-06-08 18:07 UTC (permalink / raw)
To: Xen-devel@lists.xensource.com
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
gdbsx got broken along the way. During domain pause, don't send
VIRQ_DEBUGGER to guest if gdbsx is active on that guest.
Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
thanks,
Mukesh
[-- Attachment #2: gdbsx.patch --]
[-- Type: text/x-patch, Size: 546 bytes --]
diff -r 32034d1914a6 xen/common/domain.c
--- a/xen/common/domain.c Thu Jun 07 19:46:57 2012 +0100
+++ b/xen/common/domain.c Fri Jun 08 11:02:59 2012 -0700
@@ -624,7 +624,9 @@ void domain_pause_for_debugger(void)
for_each_vcpu ( d, v )
vcpu_sleep_nosync(v);
- send_global_virq(VIRQ_DEBUGGER);
+ /* if gdbsx active, we just need to pause the domain */
+ if (current->arch.gdbsx_vcpu_event == 0)
+ send_global_virq(VIRQ_DEBUGGER);
}
/* Complete domain destroy after RCU readers are not holding old references. */
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-08 18:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-08 18:07 [PATCH]: gdbsx: send virq to guest if gdbsx_vcpu_event is not active Mukesh Rathor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).