search for: domain_pbuf_size

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

2013 Aug 16
7
[PATCH v2] xen/console: buffer and show origin of guest PV writes
...d->pbuf_lock); - hd->pbuf[hd->pbuf_idx++] = c; - if ( (hd->pbuf_idx == (HVM_PBUF_SIZE - 2)) || (c == ''\n'') ) + spin_lock(&cd->pbuf_lock); + if ( c != ''\n'' ) + cd->pbuf[cd->pbuf_idx++] = 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-&gt...
2013 Sep 09
0
[PATCH v3] xen/console: buffer and show origin of guest PV writes
...d->pbuf_lock); - hd->pbuf[hd->pbuf_idx++] = c; - if ( (hd->pbuf_idx == (HVM_PBUF_SIZE - 2)) || (c == ''\n'') ) + spin_lock(&cd->pbuf_lock); + if ( c != ''\n'' ) + cd->pbuf[cd->pbuf_idx++] = 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-&gt...