[Libvir] XM config <-> XML config

Daniel P. Berrange berrange at redhat.com
Wed Jul 18 23:51:15 UTC 2007


On Wed, Jul 18, 2007 at 08:30:21PM +0200, Arik Raffael Funke wrote:
> I am using Fedora 7 with virt-manager to control my xen domains. I would 
> like to delegate a pci device to one of my domU's. I know how this is 
> done in the XM and sxp config files, but how is it done now?

We don't support any config in the XML for delegating PCI devices at
this point in time.

> I read that libvirt can convert XM <-> XML and though I could export my 
> current config to XM format, edit it and reimport. How is is done with 
> libvirt?

To dump XML use

  virsh dumpxml [id|name|uuid] > [xmlfile]

To reload it then use

  virsh define [xmlfile]

Its not going to help much I'm afraid since we don't support PCI device
delegation currently.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list