search for: guest_printk

Displaying 2 results from an estimated 2 matches for "guest_printk".

2013 Aug 16
7
[PATCH v2] xen/console: buffer and show origin of guest PV writes
..._idx++] = ''\n''; - hd->pbuf[hd->pbuf_idx] = ''\0''; - printk(XENLOG_G_DEBUG "HVM%u: %s", curr->domain->domain_id, hd->pbuf); - hd->pbuf_idx = 0; + cd->pbuf[cd->pbuf_idx] = ''\0''; + guest_printk(cd, XENLOG_G_DEBUG "%s\n", cd->pbuf); + cd->pbuf_idx = 0; } - spin_unlock(&hd->pbuf_lock); + spin_unlock(&cd->pbuf_lock); return X86EMUL_OKAY; } @@ -521,19 +519,16 @@ int hvm_domain_initialise(struct domain *d) return -EINVAL; }...
2013 Sep 09
0
[PATCH v3] xen/console: buffer and show origin of guest PV writes
..._idx++] = ''\n''; - hd->pbuf[hd->pbuf_idx] = ''\0''; - printk(XENLOG_G_DEBUG "HVM%u: %s", curr->domain->domain_id, hd->pbuf); - hd->pbuf_idx = 0; + cd->pbuf[cd->pbuf_idx] = ''\0''; + guest_printk(cd, XENLOG_G_DEBUG "%s\n", cd->pbuf); + cd->pbuf_idx = 0; } - spin_unlock(&hd->pbuf_lock); + spin_unlock(&cd->pbuf_lock); return X86EMUL_OKAY; } @@ -521,19 +519,16 @@ int hvm_domain_initialise(struct domain *d) return -EINVAL; }...