diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-02-16 08:48:23 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-02-16 08:48:23 +0100 |
commit | 819e844385469bf8933d245fdb63b6e4727bfb09 (patch) | |
tree | b82d2851fe6136f1de887b25cd3e5187e035444d /xen/arch/x86/hvm/viridian.c | |
parent | 5c4e1c1b482e7fdf08d42447b4ea054a977e187c (diff) | |
download | xen-819e844385469bf8933d245fdb63b6e4727bfb09.tar.gz xen-819e844385469bf8933d245fdb63b6e4727bfb09.tar.bz2 xen-819e844385469bf8933d245fdb63b6e4727bfb09.zip |
replace bogus gdprintk() uses with {,d}printk()
When the subject domain is not the current one (e.g. during domctl or
HVM save/restore handling), use of gdprintk() is questionable at best,
as it won't give the intended information on what domain is affected.
Use plain printk() or dprintk() instead, but keep things (mostly) as
guest messages by using XENLOG_G_*.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/hvm/viridian.c')
-rw-r--r-- | xen/arch/x86/hvm/viridian.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/viridian.c b/xen/arch/x86/hvm/viridian.c index 6d3b899d2e..326b3bd8a4 100644 --- a/xen/arch/x86/hvm/viridian.c +++ b/xen/arch/x86/hvm/viridian.c @@ -448,7 +448,8 @@ static int viridian_load_vcpu_ctxt(struct domain *d, hvm_domain_context_t *h) vcpuid = hvm_load_instance(h); if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) { - gdprintk(XENLOG_ERR, "HVM restore: domain has no vcpu %u\n", vcpuid); + dprintk(XENLOG_G_ERR, "HVM restore: dom%d has no vcpu%u\n", + d->domain_id, vcpuid); return -EINVAL; } |