]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
Fix the build after SVM patches.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 18 May 2006 07:56:14 +0000 (08:56 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 18 May 2006 07:56:14 +0000 (08:56 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset:   10017:56444cd2805cf1b4bec168117305bcc9c64a80f4
xen-unstable date:        Thu May 18 08:55:20 2006 +0100

xen/arch/x86/hvm/svm/svm.c

index 2009576443b4dd27af1fd2d4966186f218c9db16..406c548fe8cc74511e558e62849f29394bf5dabb 100644 (file)
@@ -1302,9 +1302,10 @@ static void svm_io_instruction(struct vcpu *v, struct cpu_user_regs *regs)
         size = 1;
 
     HVM_DBG_LOG(DBG_LEVEL_IO, 
-                "svm_io_instruction: port 0x%x eip=%lx:%lx, "
-                "exit_qualification = %lx",
-                port, vmcb->cs.sel, vmcb->rip, (unsigned long)info.bytes);
+                "svm_io_instruction: port 0x%x eip=%x:%"PRIx64", "
+                "exit_qualification = %"PRIx64,
+                port, vmcb->cs.sel, vmcb->rip, info.bytes);
+
     /* string instruction */
     if (info.fields.str)
     { 
@@ -1313,7 +1314,7 @@ static void svm_io_instruction(struct vcpu *v, struct cpu_user_regs *regs)
 
         if (!svm_get_io_address(v, regs, dir, &count, &addr)) 
         {
-            /* We failed to get a valid address, so don't do the IO operation - 
+            /* We failed to get a valid address, so don't do the IO operation -
              * it would just get worse if we do! Hopefully the guest is handing
              * gp-faults... 
              */