• I
    libxl: Support PV consoles · 657cb1e4
    Ian Campbell 提交于
    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: NIan 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>
    657cb1e4
libxl_driver.c 127.9 KB