[libvirt] libxl: cannot connect to PV console

Dario Faggioli dario.faggioli at citrix.com
Tue Dec 17 18:22:41 UTC 2013


On mar, 2013-12-17 at 11:12 -0700, Jim Fehlig wrote:
> Looking at libxlDomainOpenConsole() in src/libxl/libxl_driver.c, it
> currently only supports a serial console.  Do you have one defined in
> these domains? 
>
Well, I did not create anything like that explicitly for sure.. All I
did is using virt-install.

> E.g.
>
> <devices>
> ...
>     <serial type='pty'>
>       <target port='0'/>
>     </serial>
> ...
> </devices>
> 
Let me check.

[xen at ghoul3 libvirt.git]$ sudo ./run tools/virsh dumpxml debian_32
<domain type='xen'>
  <name>debian_32</name>
  <uuid>d3c586b2-f26d-4671-a6b3-6782fa01f49f</uuid>
  <memory unit='KiB'>1048576</memory>
  <currentMemory unit='KiB'>1048576</currentMemory>
  <vcpu placement='static'>2</vcpu>
  <bootloader>/usr/bin/pygrub</bootloader>
  <os>
    <type arch='x86_64' machine='xenpv'>linux</type>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <disk type='block' device='disk'>
      <source dev='/dev/fedora_ghoul3/debian_32'/>
      <target dev='xvda' bus='xen'/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:9f:ea:e6'/>
      <source bridge='virbr0'/>
    </interface>
  </devices>
</domain>

No, I apparently don't have anything like that. So, whose bug is this?
libvirt or virt-install?

As an aside, I'm sure as hell I've seen this working at some point...
weird. :-/

Thanks and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131217/5269f2f6/attachment-0001.sig>


More information about the libvir-list mailing list