# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 2e8c68b0c973f3b26b8e48e6e097834a97fafb43
# Parent fac36a01c06e49dfedd4124ab45131e6c67dec60
[XEN] Adjust logging levels of a few printk messages.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/hvm/hvm.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff -r fac36a01c06e -r 2e8c68b0c973 xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c Fri Nov 03 11:15:10 2006 +0000
+++ b/xen/arch/x86/hvm/hvm.c Fri Nov 03 11:37:41 2006 +0000
@@ -371,7 +371,7 @@ void hvm_do_hypercall(struct cpu_user_re
if ( (pregs->eax >= NR_hypercalls) || !hvm_hypercall_table[pregs->eax] )
{
- gdprintk(XENLOG_INFO, "HVM vcpu %d:%d did a bad hypercall %d.\n",
+ gdprintk(XENLOG_WARNING, "HVM vcpu %d:%d did a bad hypercall %d.\n",
current->domain->domain_id, current->vcpu_id,
pregs->eax);
pregs->eax = -ENOSYS;
@@ -417,7 +417,7 @@ static long do_memory_op_compat32(int cm
}
default:
- gdprintk(XENLOG_INFO, "memory_op %d.\n", cmd);
+ gdprintk(XENLOG_WARNING, "memory_op %d.\n", cmd);
rc = -ENOSYS;
break;
}
@@ -450,7 +450,7 @@ void hvm_do_hypercall(struct cpu_user_re
pregs->rax = (uint32_t)pregs->eax; /* mask in case compat32 caller */
if ( (pregs->rax >= NR_hypercalls) || !hvm_hypercall64_table[pregs->rax] )
{
- gdprintk(XENLOG_INFO, "HVM vcpu %d:%d did a bad hypercall %ld.\n",
+ gdprintk(XENLOG_WARNING, "HVM vcpu %d:%d did a bad hypercall %ld.\n",
current->domain->domain_id, current->vcpu_id,
pregs->rax);
pregs->rax = -ENOSYS;
@@ -510,7 +510,7 @@ int hvm_bringup_ap(int vcpuid, int tramp
if ( (ctxt = xmalloc(struct vcpu_guest_context)) == NULL )
{
- gdprintk(XENLOG_INFO,
+ gdprintk(XENLOG_ERR,
"Failed to allocate memory in hvm_bringup_ap.\n");
return -ENOMEM;
}
@@ -525,7 +525,7 @@ int hvm_bringup_ap(int vcpuid, int tramp
if ( rc != 0 )
{
- gdprintk(XENLOG_INFO,
+ gdprintk(XENLOG_ERR,
"AP %d bringup failed in boot_vcpu %x.\n", vcpuid, rc);
goto out;
}
@@ -628,7 +628,7 @@ long do_hvm_op(unsigned long op, XEN_GUE
default:
{
- gdprintk(XENLOG_INFO, "Bad HVM op %ld.\n", op);
+ gdprintk(XENLOG_WARNING, "Bad HVM op %ld.\n", op);
rc = -ENOSYS;
break;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|