From mboxrd@z Thu Jan 1 00:00:00 1970 From: Don Slutz Subject: [BUGFIX][PATCH 0/4] gdbsx: fix 3 bugs Date: Sat, 4 Jan 2014 12:52:12 -0500 Message-ID: <1388857936-664-1-git-send-email-dslutz@verizon.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Keir Fraser , Ian Campbell , Stefano Stabellini , George Dunlap , Ian Jackson , Don Slutz , Jan Beulich List-Id: xen-devel@lists.xenproject.org Release manager requests: patch 1 should be in 4.4.0 patch 3 and 4 would be good to be in 4.4.0 patch 2 is optional. While tracking down a bug in seabios/grub I found the bug in patch 1. There are 2 ways that gfn will not be INVALID_GFN and yet mfn will be INVALID_MFN. 1) p2m_is_readonly(gfntype) and writing memory. 2) the requested vaddr does not exist. This may only be an issue for a HVM guest that is in real mode (I.E. no page tables). Patch 2 is debug logging that was used to find the 2nd way. Patch 3 and 4 are more of a cleanup bug fix. Don Slutz (4): dbg_rw_guest_mem: need to call put_gfn in error path. dbg_rw_guest_mem: Enable debug log output xg_read_mem: Report on error. XEN_DOMCTL_gdbsx_guestmemio: always do the copyback. tools/debugger/gdbsx/xg/xg_main.c | 6 ++++-- xen/arch/x86/debug.c | 44 ++++++++++++++++++++++++++++++--------- xen/arch/x86/domctl.c | 3 +-- 3 files changed, 39 insertions(+), 14 deletions(-) -- 1.8.4