[libvirt-users] access VMX config on esxi with virsh

Justin Clift jclift at redhat.com
Mon Sep 20 17:37:44 UTC 2010


On 09/20/2010 06:00 PM, frank dirks wrote:
> Hi Mathias,
<snip>
> which command gives me the domain xml? dumpxml gives me an error
> message (expecting an assignment) - the other xml command need the
> vmx file i guess ...

Hi Frank,

"In theory" the dumpxml should do that.  ie.:

   # virsh dumpxml F11test
   <domain type='kvm'>
     <name>F11test</name>
     <uuid>cb3878e2-a1fc-c035-e57c-087e11abcbfe</uuid>
     <memory>1048576</memory>
     <currentMemory>1048576</currentMemory>
     <vcpu>2</vcpu>
     <os>
       <type arch='x86_64' machine='rhel6.0.0'>hvm</type>
       <boot dev='hd'/>
     </os>
(...)
       <memballoon model='virtio'>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x05' 
function='0x0'/>
       </memballoon>
     </devices>
   </domain>

However, it sounds like that's not working for you.

That could be a bug. Would you be ok with trying it again, then pasting 
the error message here for us to see?

Regards and best wishes,

Justin Clift




More information about the libvirt-users mailing list