]> xenbits.xensource.com Git - libvirt.git/commit
libxl: Support PV consoles
authorIan Campbell <ian.campbell@citrix.com>
Fri, 25 Apr 2014 15:54:20 +0000 (16:54 +0100)
committerJim Fehlig <jfehlig@suse.com>
Fri, 25 Apr 2014 20:08:54 +0000 (14:08 -0600)
commit657cb1e44d90bab451256616f9d98fb4439a080c
tree9afc2a27be5eea197af20b5c1315a8b3ec09888c
parent2a1ea9067f307f76bd28fa6f221a68ad848c9440
libxl: Support PV consoles

Currently the driver only exposes the ability to connect to the serial console
of a Xen guest, which doesn't work for a PV guest. Since for an HVM guest the
serial devices are duplicated as consoles it is sufficient to just use the
console devices unconditionally.

Tested with the following bit of config XML:

<domain type='xen'>
  ...
  <devices>
    <console type='pty'>
      <target type='xen'/>
    </console>
  </devices>
</domain>

I have observed and tested this on ARM but I believe it also applies to x86 PV
guests.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Jim Fehlig <jfehlig@suse.com>
Cc: Dario Faggioli <dario.faggioli@citrix.com>
Cc: Clark Laughlin <clark.laughlin@linaro.org>
src/libxl/libxl_driver.c