]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commitdiff
x86/HAP: use %pv printk() format where suitable
authorJan Beulich <jbeulich@suse.com>
Tue, 3 Nov 2015 17:11:56 +0000 (18:11 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 3 Nov 2015 17:11:56 +0000 (18:11 +0100)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/hap/hap.c

index e9c00803661bd6c7a92181a20fbd310d63a72e19..17a380fb386d26c5d246c0d90ceffb1786ac6529 100644 (file)
@@ -671,8 +671,7 @@ static int hap_page_fault(struct vcpu *v, unsigned long va,
 {
     struct domain *d = v->domain;
 
-    HAP_ERROR("Intercepted a guest #PF (%u:%u) with HAP enabled.\n",
-              d->domain_id, v->vcpu_id);
+    HAP_ERROR("Intercepted a guest #PF (%pv) with HAP enabled\n", v);
     domain_crash(d);
     return 0;
 }
@@ -692,8 +691,7 @@ static int hap_invlpg(struct vcpu *v, unsigned long va)
         return 1;
     }
 
-    HAP_ERROR("Intercepted a guest INVLPG (%u:%u) with HAP enabled.\n",
-              v->domain->domain_id, v->vcpu_id);
+    HAP_ERROR("Intercepted a guest INVLPG (%pv) with HAP enabled\n", v);
     domain_crash(v->domain);
     return 0;
 }