| From: |
| Stefano Stabellini <Stefano.Stabellini@eu.citrix.com> |
| To: |
| "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com> |
| Subject: |
| [PATCH v2 0/2] Xen (PV and HVM) multiple PV consoles |
| Date: |
| Fri, 27 Jan 2012 18:30:30 +0000 |
| Message-ID: |
| <alpine.DEB.2.00.1201271823240.3196@kaball-desktop> |
| Cc: |
| Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> |
| Archive-link: |
| Article, Thread
|
Hi all,
this small patch series (sent before a few times) achieves two goals:
- make PV consoles work for PV on HVM guests;
- implement support for multiple PV consoles for PV and PV on HVM guests.
Changes in v2:
- nicer safety check in patch #1;
- kzalloc instead of kmalloc;
- removed the spin_lock in vtermno_to_xencons, use
list_for_each_entry_safe.
It has been tested with pv and hvm guests, with console=ttyS0,
console=hvc0, and earlyprintk=xen, with and without serial='pty' in the
VM config file.
Stefano Stabellini (2):
hvc_xen: support PV on HVM consoles
hvc_xen: implement multiconsole support
drivers/tty/hvc/hvc_xen.c | 455 ++++++++++++++++++++++++++++++++----
include/xen/interface/hvm/params.h | 6 +-
2 files changed, 420 insertions(+), 41 deletions(-)
A branch with these patches based on 3.2 is available here:
git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 3.2-multiconsole-2
Cheers,
Stefano