[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] can`t start guestfsd daemon inside guest



hi Mr Rich
As you recommended, I switched to Fedora 16.
I also built a guest machine with Fedora 16 Mini version.
Inside the guest I  installed libguestfs-live-service package but I failed  to start the guestfsd daemon :

    [root Fedora16 ~]# guestfsd -vr
    verbose daemon enabled
    linux commmand line: BOOT_IMAGE=/vmlinuz-3.2.7-1.fc16.i686.PAE root=/dev/mapper/vg_fedora16-lv_root     ro rd.md=0 rd.dm=0 KEYTABLE=us quiet rd.lvm.lv=vg_fedora16/lv_root rhgb             rd.lvm.lv=vg_fedora16/lv_swap rd.luks=0 SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8


    Failed to connect to virtio-serial channel.

    This is a fatal error and the appliance will now exit.

    Usually this error is caused by either QEMU or the appliance
    kernel not supporting the vmchannel method that the
    libguestfs library chose to use.  Please run
    'libguestfs-test-tool' and provide the complete, unedited
    output to the libguestfs developers, either in a bug report
    or on the libguestfs redhat com mailing list.

    /dev/virtio-ports/org.libguestfs.channel.0: No such file or directory


Moreover, I managed VMs with virt-manager, and I tried to edit the XML file of the guest from the path
/etc/libvirt/qemu/FedoraMini16.xml (FedoraMini16 is the name of the guest), here is the content of the xml file

<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  virsh edit FedoraMini16
or other application using the libvirt API.
-->

<domain type='kvm'>
  <name>FedoraMini16</name>
  <uuid>9d33d233-cedc-fd7c-658e-578358b7f7cf</uuid>
  <memory>1048576</memory>
  <currentMemory>1048576</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='i686' machine='pc-0.14'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/home/feeliwood/VMs/Fedora16Mini/Fedora16Mini.qcow2'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <interface type='network'>
      <mac address='52:54:00:ae:47:e7'/>
      <source network='default'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes'/>
    <sound model='ich6'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
<channel type='unix'>
  <source mode='bind' path='/var/lib/libvirt/qemu/FedoraMini16.libguestfs' />
  <target type='virtio' name='org.libguestfs.channel.0' />
</channel>  </devices>
</domain>


but whenever I restart the guest with virt-manager, the clause that I added was deleted.
could you help me please !!!
thank you


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]