[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] Proposed functionality: API to extract host description from saved state, restore with modified XML
- From: "Richard W.M. Jones" <rjones redhat com>
- To: Charles Duffy <Charles_Duffy messageone com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] Proposed functionality: API to extract host description from saved state, restore with modified XML
- Date: Wed, 27 Aug 2008 11:42:48 +0100
On Sun, Aug 24, 2008 at 11:17:50PM -0500, Charles Duffy wrote:
> Would a patch adding API calls to
> - return the XML description of a saved host, given the name
> - restore a saved host with a different description
> be considered welcome?
As I understand it, yes & yes.
> I presume that to maintain backwards compatibility, the latter would be
> expected to be exposed to clients via a new call, rather than adding a
> parameter to virDomainRestore(); in communicating with the drivers, on
> the other hand, my first instinct would be to add an extra parameter to
> virDrvDomainRestore.
Yes, you cannot change the public API in a non-compatible way. So
adding a new API call is the only option as I understand it.
You can change internal interfaces as much as you want.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 64 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]