Re: [Libvir] PATCH: Fix const-ness for attach/detach device APIs

2007-10-15 Thread Richard W.M. Jones
Daniel P. Berrange wrote: virDomainAttachDevice and virDomainDetachDevice both take a char * for the XML description, but this is mistakenly not declared to be const. This patch fixes the public header files all the internal drivers. NB, yes this is in the public API, no it won't break any

Re: [Libvir] PATCH: Fix const-ness for attach/detach device APIs

2007-10-15 Thread Daniel Veillard
On Mon, Oct 15, 2007 at 12:49:34PM +0100, Richard W.M. Jones wrote: Daniel P. Berrange wrote: virDomainAttachDevice and virDomainDetachDevice both take a char * for the XML description, but this is mistakenly not declared to be const. This patch fixes the public header files all the internal

[Libvir] PATCH: Fix const-ness for attach/detach device APIs

2007-10-12 Thread Daniel P. Berrange
virDomainAttachDevice and virDomainDetachDevice both take a char * for the XML description, but this is mistakenly not declared to be const. This patch fixes the public header files all the internal drivers. NB, yes this is in the public API, no it won't break any apps since these are input