[libvirt] PATCH: Use virDomainDefPtr to build QEMU args instead of virDomainObjPtr

Daniel Veillard veillard at redhat.com
Fri Apr 17 11:11:37 UTC 2009


On Fri, Apr 17, 2009 at 11:41:41AM +0100, Daniel P. Berrange wrote:
> This is a fairly simple NFC patch which changes the QEMU driver to use
> the virDomainDefPtr object when building command line arguments instead
> of the virDomainObjPtr. The command line building only needs the config,
> and none of the state, so virDomainDefPtr was more applicable.
> 
> This was a pre-requisite for another patch I wrote, but have since
> thrown away. I think this one is worth applying anyway as a general
> cleanup.

  Yup, interesting decoupling, ACK

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list