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

RE: [et-mgmt-tools] virt-p2v problems



Hey,

I narrowed the config file down to:
	<domain type="xen">
	  <name>emerson3</name>
	  <uuid>3ffcff461be5cef1ff45ffe1bb71b17a</uuid>
	  <memory>2095104</memory>
	</domain>

and I still get the very same error. 
Maybe a missing tag??

Emerson


-----Original Message-----
From: et-mgmt-tools-bounces redhat com
[mailto:et-mgmt-tools-bounces redhat com] On Behalf Of Richard W.M.
Jones
Sent: Thursday, July 16, 2009 11:11 AM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] virt-p2v problems

On Wed, Jul 15, 2009 at 08:49:23AM -0300, Ribeiro Emerson Gomes wrote:
> Here goes the conf file:
> 
> [root 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

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools redhat com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


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