[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.0.5-testing] Fix for bug introduced by cset 14859:a9aa7c29eda8 - implement IOREQ_TYPE_SUB
# HG changeset patch # User Steven Hand <steven@xxxxxxxxxxxxx> # Date 1176820904 -3600 # Node ID b9f579e2d6a7a083ade36eebe7fdb785183a8142 # Parent 20dba1b883f29307e5486a3855320e0cfd8263a2 Fix for bug introduced by cset 14859:a9aa7c29eda8 - implement IOREQ_TYPE_SUB for intercepted mmio access too. Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx> --- xen/arch/x86/hvm/intercept.c | 9 +++++++++ 1 files changed, 9 insertions(+) diff -r 20dba1b883f2 -r b9f579e2d6a7 xen/arch/x86/hvm/intercept.c --- a/xen/arch/x86/hvm/intercept.c Tue Apr 17 13:22:24 2007 +0100 +++ b/xen/arch/x86/hvm/intercept.c Tue Apr 17 15:41:44 2007 +0100 @@ -148,6 +148,15 @@ static inline void hvm_mmio_access(struc p->data = tmp1; break; + case IOREQ_TYPE_SUB: + tmp1 = read_handler(v, p->addr, p->size); + if ( p->dir == IOREQ_WRITE ) { + tmp2 = tmp1 - (unsigned long) p->data; + write_handler(v, p->addr, p->size, tmp2); + } + p->data = tmp1; + break; + default: printk("hvm_mmio_access: error ioreq type %x\n", p->type); domain_crash_synchronous(); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |