[et-mgmt-tools] virt-p2v problems

Richard W.M. Jones rjones at redhat.com
Thu Jul 16 14:10:32 UTC 2009


On Wed, Jul 15, 2009 at 08:49:23AM -0300, Ribeiro Emerson Gomes wrote:
> Here goes the conf file:
> 
> [root at blpc6]# cat p2v-emerson3_br_scania_com-200907150846.conf 
> <!--
>   This is an automatically generated libvirt configuration file.
>   It was written by the virt-p2v program.
> 
>   Please check the values in this configuration file carefully,
>   particularly maxmem, memory, vcpu and any paths.
> 
>   To start the domain, do:
>     virsh define p2v-emerson3_br_scania_com-200907150846.conf
>     virsh start emerson3_br_scania_com
> -->
> 
> <domain type="xen">
>   <name>emerson3_br_scania_com</name>
>   <uuid>3ffcff461be5cef1ff45ffe1bb71b17a</uuid>
>   <memory>2095104</memory>
>   <maxmem>2095104</maxmem>
>   <vcpu>1</vcpu>
>   <os>
>     <type>hvm</type>
>     <loader>/usr/lib/xen/boot/hvmloader</loader>
>     <boot dev="hd"/>
>   </os>
>   <features>
>     <pae/>
>     <acpi/>
>     <apic/>
>   </features>
>   <clock sync="localtime"/>
>   <devices>
>     <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
>     <interface type="user">
>       <mac address="00:16:3e:cf:c6:e8"/>
>     </interface>
>     <graphics type="vnc"/>
>     <disk type="file" device="disk">
>       <source file="/stage/blvd11/p2v-emerson3_br_scania_com-200907150846-hda.img"/>
>       <target dev="hda"/>
>     </disk>
>   </devices>
> </domain>

This file looks fine to me, but the "expecting a name" error is still
worrying.  Unfortunately libvirt doesn't give any context for the
error, so the only way to diagnose it will be to remove sections of
the XML until it works, thus narrowing it down to some particular
place.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the et-mgmt-tools mailing list