Red Hat Bugzilla – Bug 462428
XML domain file should add an extra args tag
Last modified: 2010-03-16 13:14:38 EDT
It's not a bug, it's a feature ... request.
I think that the xml file describing a domain should add a new tag to add extra arguments to the command line (especially for kvm, I don't know xen). It will be possible to use some kvm options even if libvirt don't use them (yet). For example, using the -mem-path option in kvm as libvirt doesn't recognize it.
I suggest <args value="some extra args" />
Will it be possible?
Not possible. The XML format will expose only options that are
understood by libvirt. This has been explained many time on the
mailing-list, and the only way to avoid exposing hypervisor specifics
into user configs. The goal of libvirt is to abstract from the hypervisor
specifics, opening up the format like you suggest is against the core
goal of libvirt.