log level ia64 DPRINTK
PATCH v2 6/6 log level ia64 DPRINTK
This patch updates the ia64 arch to have DPRINTK use the new log levels.
Signed-off-by Steven Rostedt <[email protected]>
xen/arch/ia64/vmx/vlsapic.c +2 -2
@@ -410,7 +410,7 @@ void vlsapic_reset(VCPU *vcpu) vcpu->arch.arch_vmx.vlapic.vcpu = vcpu;hvm_vioapic_add_lapic (&vcpu->arch.arch_vmx.vlapic, vcpu);#endif -DPRINTK ("VLSAPIC inservice base=%p\n" , &VLSAPIC_INSVC (vcpu,0 ) ); +DPRINTK (XENLOG_INFO "VLSAPIC inservice base=%p\n" , &VLSAPIC_INSVC (vcpu,0 ) ); }/*
@@ -539,7 +539,7 @@ int vmx_vcpu_pend_interrupt(VCPU *vcpu,int ret;if (vector & ~0xff ) { -DPRINTK ("vmx_vcpu_pend_interrupt: bad vector\n" ); +DPRINTK (XENLOG_G_INFO "vmx_vcpu_pend_interrupt: bad vector\n" );return -1 ; }local_irq_save (spsr);
xen/arch/ia64/vmx/vmx_hypercall.c +1 -1
@@ -79,7 +79,7 @@ do_hvm_op(unsigned long op, XEN_GUEST_HA }default : -DPRINTK ("Bad HVM op %ld.\n" , op); +DPRINTK (XENLOG_G_INFO "Bad HVM op %ld.\n" , op); rc = -ENOSYS ; }return rc;
xen/arch/ia64/vmx/vmx_init.c +1 -1
@@ -277,7 +277,7 @@ static void vmx_create_event_channels(st p =get_vio (v->domain, o->vcpu_id); o->arch.arch_vmx.xen_port = p->vp_eport =alloc_unbound_xen_event_channel (o,0 ); -DPRINTK ("Allocated port %d for hvm.\n" , +DPRINTK (XENLOG_G_INFO "Allocated port %d for hvm.\n" , o->arch.arch_vmx.xen_port); } }
xen/arch/ia64/xen/dom0_ops.c +2 -1
@@ -320,7 +320,8 @@ do_dom0vp_op(unsigned long cmd,case IA64_DOM0VP_phystomach: ret =____lookup_domain_mpa (d, arg0 <<PAGE_SHIFT );if (ret ==INVALID_MFN ) { -DPRINTK ("%s:%d INVALID_MFN ret: 0x%lx\n" , __func__, __LINE__, ret); +DPRINTK (XENLOG_INFO "%s: INVALID_MFN ret: 0x%lx\n" , + __func__, ret); }else { ret = (ret & _PFN_MASK) >>PAGE_SHIFT ;//XXX pte_pfn() }
xen/arch/ia64/xen/domain.c +2 -1
@@ -682,7 +682,8 @@ int shadow_mode_control(struct domain *d//struct vcpu *v; if (unlikely (d == current->domain)) { -DPRINTK ("Don't try to do a shadow op on yourself!\n" ); +DPRINTK (XENLOG_G_INFO +"Don't try to do a shadow op on yourself!\n" );return -EINVAL ; }
xen/arch/ia64/xen/irq.c +10 -4
@@ -377,7 +377,8 @@ int pirq_guest_bind(struct vcpu *v, int {if ( desc->action !=NULL ) { -DPRINTK ("Cannot bind IRQ %d to guest. In use by '%s'.\n" , +DPRINTK (XENLOG_G_INFO +"Cannot bind IRQ %d to guest. In use by '%s'.\n" , irq, desc->action->name); rc = -EBUSY ; goto out;
@@ -386,7 +387,9 @@ int pirq_guest_bind(struct vcpu *v, int action =xmalloc (irq_guest_action_t);if ( (desc->action = (struct irqaction *)action) ==NULL ) { -DPRINTK ("Cannot bind IRQ %d to guest. Out of memory.\n" , irq); +DPRINTK (XENLOG_G_INFO +"Cannot bind IRQ %d to guest. Out of memory.\n" , + irq); rc = -ENOMEM ; goto out; }
@@ -410,7 +413,8 @@ int pirq_guest_bind(struct vcpu *v, int }else if ( !will_share || !action->shareable ) { -DPRINTK ("Cannot bind IRQ %d to guest. Will not share with others.\n" , +DPRINTK (XENLOG_G_INFO +"Cannot bind IRQ %d to guest. Will not share with others.\n" , irq); rc = -EBUSY ; goto out;
@@ -418,7 +422,9 @@ int pirq_guest_bind(struct vcpu *v, intif ( action->nr_guests ==IRQ_MAX_GUESTS ) { -DPRINTK ("Cannot bind IRQ %d to guest. Already at max share.\n" , irq); +DPRINTK (XENLOG_G_INFO +"Cannot bind IRQ %d to guest. Already at max share.\n" , + irq); rc = -EBUSY ; goto out; }
xen/arch/ia64/xen/mm.c +40 -28
218 lines not on this page · raw message
xen/arch/ia64/xen/vcpu.c +1 -1
@@ -1571,7 +1571,7 @@ vcpu_get_domain_bundle(VCPU * vcpu, REGSset_metaphysical_rr0 (); }if (bundle->i64[0 ] ==0 && bundle->i64[1 ] ==0 ) { -DPRINTK ("%s gip 0x%lx\n" , __func__, gip); +DPRINTK (XENLOG_INFO "%s gip 0x%lx\n" , __func__, gip);return 0 ; }return 1 ;
xen/include/asm-ia64/mm.h +1 -1
@@ -175,7 +175,7 @@ static inline int get_page(struct page_i unlikely((nx & PGC_count_mask) == 0) || /* Count overflow? */ unlikely((x >> 32) != _domain)) { /* Wrong owner? */ -DPRINTK ("Error pfn %lx: rd=%p, od=%p, caf=%016lx, taf=%" +DPRINTK (XENLOG_G_INFO "Error pfn %lx: rd=%p, od=%p, caf=%016lx, taf=%" PRtype_info"\n" ,page_to_mfn (page), domain,unpickle_domptr (x >>32 ), x, page->u.inuse.type_info);return 0 ;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel