[6.0]virsh domxml-from-native fails to convert to XML file.

Solution Verified - Updated -

Issue

  • "virsh domxml-from-native" fails to convert to XML file according to the step "Step to Reproduce" describe later.  Then the following error message is reported:

# virsh domxml-from-native qemu-argv  <config>
error: internal error missing index/unit/bus parameter in drive 'file=/kvm-data/<domain-name>.img,if=non
e,id=drive-virtio-disk0,format=raw,cache=none'

  • Because we specified arguments actually specified to <config>, virsh should work properly.  Our partner believes that this is due to a bug of virsh domxml-from-native. 

Environment

  • Red Hat Enterprise Linux 6 RC1
  • Architecture: x86_64
  • Kernel Version: kernel-2.6.32-71.el6.x86_64
  • Related Package Version: libvirt-client-0.8.1-27.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content