[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] domain_pause_for_debugger not pausing multiple vcpus


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Kip Macy <kip.macy@xxxxxxxxx>
  • Date: Sat, 3 Dec 2005 20:57:57 -0600
  • Delivery-date: Sun, 04 Dec 2005 02:59:25 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=m7uwjoK6kCDP6KY6oPdQvXc22P8pvcHiHVFHyUMf1r1m2QRXP1N3CX7yM3t5Lja99qgFZ3kSVw2pZAJq6XX5V7RYc40hF8GuQsDIlYgEa2NyhPzw8pq6nRm/Hgtq5bkwf9KLfXXmWWr510b20lhV8FwpIYnPGxOsz451/HBsBPM=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Debugging an MP guest doesn't work. It appears that if a vcpu other than 0 hits an int3 it doesn't get paused.

If the comment in domain_pause_for_debugger is correct (below), this function is completely inappropriate for breakpoint debugging.

   NOTE: Thise does not synchronously pause the domain. The debugger
   must issue a PAUSEDOMAIN command to ensure that all execution
   has ceased and guest state is committed to memory.

What is the correct way to synchronously deschedule a domain? Replacing vcpu_sleep_nosync with vcpu_sleep_sync causes dom0 to lock up when hitting a breakpoint.


Thanks.


             -Kip



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.