[HVM] More printk cleanups.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2006-11-03 12:32:26 +00:00
1 parent 66d409985f
commit bdc4e604b2
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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);
+2 -1
View File
@@ -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;
}
}
+1 -2
View File
@@ -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);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.