# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1178691058 -32400 # Node ID 36b6b4c3b6e100abcdeb6bac1c32c264f6bfcbad # Parent eabda101b0c54ac51d4a7d335e45144425ca2fda quieten lookup_domain_mpa() when domain is dying. message clean up in lookup_domain_mpa(). It is possible that current != d. PATCHNAME: quiten_lookup_domain_mpa_when_domain_is_dying Signed-off-by: Isaku Yamahata diff -r eabda101b0c5 -r 36b6b4c3b6e1 xen/arch/ia64/xen/mm.c --- a/xen/arch/ia64/xen/mm.c Tue May 08 13:12:52 2007 -0600 +++ b/xen/arch/ia64/xen/mm.c Wed May 09 15:10:58 2007 +0900 @@ -666,19 +666,22 @@ unsigned long lookup_domain_mpa(struct d return GPFN_INV_MASK; } - if (mpaddr < d->arch.convmem_end) { + if (mpaddr < d->arch.convmem_end && !d->is_dying) { gdprintk(XENLOG_WARNING, "vcpu %d iip 0x%016lx: non-allocated mpa " - "0x%lx (< 0x%lx)\n", current->vcpu_id, PSCB(current, iip), - mpaddr, d->arch.convmem_end); + "d %"PRId16" 0x%lx (< 0x%lx)\n", + current->vcpu_id, PSCB(current, iip), + d->domain_id, mpaddr, d->arch.convmem_end); } else if (mpaddr - IO_PORTS_PADDR < IO_PORTS_SIZE) { /* Log I/O port probing, but complain less loudly about it */ gdprintk(XENLOG_INFO, "vcpu %d iip 0x%016lx: bad I/O port access " - "0x%lx\n", current->vcpu_id, PSCB(current, iip), + "d %"PRId16" 0x%lx\n", + current->vcpu_id, PSCB(current, iip), d->domain_id, IO_SPACE_SPARSE_DECODING(mpaddr - IO_PORTS_PADDR)); } else { - gdprintk(XENLOG_WARNING, "vcpu %d iip 0x%016lx: bad mpa 0x%lx " - "(=> 0x%lx)\n", current->vcpu_id, PSCB(current, iip), - mpaddr, d->arch.convmem_end); + gdprintk(XENLOG_WARNING, "vcpu %d iip 0x%016lx: bad mpa " + "d %"PRId16" 0x%lx (=> 0x%lx)\n", + current->vcpu_id, PSCB(current, iip), + d->domain_id, mpaddr, d->arch.convmem_end); } if (entry != NULL)