mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[HVM] More printk cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
66d409985f
commit
bdc4e604b2
3 files changed
+4
-4
No files matched your search
@@ -337,7 +337,7 @@ void hvm_print_line(struct vcpu *v, const char c)
|
||||
if ( c != '\n' )
|
||||
hd->pbuf[hd->pbuf_idx++] = '\n';
|
||||
hd->pbuf[hd->pbuf_idx] = '\0';
|
||||
printk(XENLOG_G_DEBUG "HVM%u: %s\n", v->domain->domain_id, hd->pbuf);
|
||||
printk(XENLOG_G_DEBUG "HVM%u: %s", v->domain->domain_id, hd->pbuf);
|
||||
hd->pbuf_idx = 0;
|
||||
}
|
||||
spin_unlock(&hd->pbuf_lock);
|
||||
|
||||
@@ -801,7 +801,8 @@ static void vlapic_write(struct vcpu *v, unsigned long address,
|
||||
break;
|
||||
|
||||
default:
|
||||
printk("Local APIC Write to read-only register\n");
|
||||
gdprintk(XENLOG_WARNING,
|
||||
"Local APIC Write to read-only register 0x%x\n", offset);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -360,8 +360,7 @@ static void vmx_do_launch(struct vcpu *v)
|
||||
error |= __vmwrite(GUEST_TR_LIMIT, 0xff);
|
||||
|
||||
shadow_update_paging_modes(v);
|
||||
printk("%s(): GUEST_CR3<=%08lx, HOST_CR3<=%08lx\n",
|
||||
__func__, v->arch.hvm_vcpu.hw_cr3, v->arch.cr3);
|
||||
|
||||
__vmwrite(GUEST_CR3, v->arch.hvm_vcpu.hw_cr3);
|
||||
__vmwrite(HOST_CR3, v->arch.cr3);
|
||||
|
||||
|
||||