LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 01-18-2013, 02:04 AM   #1
screwzm
LQ Newbie
 
Registered: Oct 2012
Posts: 16

Rep: Reputation: Disabled
transformation between libvirt xml and qemu native command


I need to transforme libvirt xml file to qemu CLI command and vice verse.
By using:
Code:
$virsh domxml-to-native qemu-argv demo.xml > qemu-args
I can get the corresponding qemu CLI command defined by demo.xml

Now, when I try to generate the XML back for the same CLI, it fails:

Code:
$virsh domxml-from-native qemu-argv qem-args
I got this error:

Code:
error: internal error missing index/unit/bus parameter in drive 'file=a.qcow2,if=none,id=drive-ide0-0-0,format=raw'
Could anyone provide any clue? thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libvirt qemu/kvm on Debian Squeeze; serial port causes error in VM startup ordinary Linux - Virtualization and Cloud 0 10-03-2012 07:56 PM
libvirt qemu cgroup problem faicker Linux - Virtualization and Cloud 0 07-19-2012 07:45 AM
LXer: Set up Qemu&Spice&Libvirt 0.9.6 USB Redirection on Ubuntu 11.10 LXer Syndicated Linux News 0 10-16-2011 02:40 PM
Set tap device in libvirt xml for virt-manager? davelowndes Linux - Virtualization and Cloud 2 11-04-2010 03:20 AM
XSLT transformation of XML document using XMLNS Foomajick Programming 7 10-25-2006 05:27 AM


All times are GMT -5. The time now is 12:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration