Displaying 2 results from an estimated 2 matches for "xenlog_g_debug".
Did you mean:
xenlog_debug
2013 Aug 16
7
[PATCH v2] xen/console: buffer and show origin of guest PV writes
...x++] = c;
+ if ( (cd->pbuf_idx == (DOMAIN_PBUF_SIZE - 1)) || (c == ''\n'') )
{
- if ( c != ''\n'' )
- hd->pbuf[hd->pbuf_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-&g...
2013 Sep 09
0
[PATCH v3] xen/console: buffer and show origin of guest PV writes
...x++] = c;
+ if ( (cd->pbuf_idx == (DOMAIN_PBUF_SIZE - 1)) || (c == ''\n'') )
{
- if ( c != ''\n'' )
- hd->pbuf[hd->pbuf_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-&g...