From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH 2/2] Add xen-hyp-rw Date: Thu, 18 Jun 2015 18:05:03 +0100 Message-ID: <5582FA3F.4030108@citrix.com> References: <1434642932-24807-1-git-send-email-dslutz@verizon.com> <1434642932-24807-3-git-send-email-dslutz@verizon.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1434642932-24807-3-git-send-email-dslutz@verizon.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Don Slutz , xen-devel@lists.xen.org Cc: Keir Fraser , Ian Campbell , Stefano Stabellini , Tim Deegan , Ian Jackson , Don Slutz , Jan Beulich , Wei Liu , Mukesh Rathor List-Id: xen-devel@lists.xenproject.org On 18/06/15 16:55, Don Slutz wrote: > This allows reading and writing of variables in the hypervisor. > > for example (read case -- default 4 bytes): > > xen-hyp-rw /boot/System.map-xen* opt_hvm_debug_level > opt_hvm_debug_level @ 0xffff82d080285610 is 0x0(0) > > Write case: > > xen-hyp-rw /boot/System.map-xen* opt_hvm_debug_level 4 -1 > opt_hvm_debug_level @ 0xffff82d080285610 is 0x0(0) > opt_hvm_debug_level @ 0xffff82d080285610 set to 0xffffffff(4294967295) > > Signed-off-by: Don Slutz > CC: Don Slutz As a crazy thought... Would it not be easier to modify gdbsx to allow gdb to connect remotely to the hypervisor context? That way, any gdb-like tools could consume an appropriate xen-syms and make changes like this. ~Andrew