[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH]: Fix "virsh attach-disk" and "virsh attach-interface"
- From: Chris Lalancette <clalance redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH]: Fix "virsh attach-disk" and "virsh attach-interface"
- Date: Tue, 05 Aug 2008 18:43:57 +0200
Daniel P. Berrange wrote:
>
> Ok, I've found the original xenDaemonAttachDevice() had this hack to make
> them consistent:
>
> if (!memcmp(sexpr, "(device ", 8)) {
> conf = sexpr + 8;
> *(conf + strlen(conf) -1) = 0; /* suppress final ) */
> }
> else
> conf = sexpr;
>
> Which is just gross.
Ah, ug, that is gross. Thanks for checking it out for me; I've committed this
patch now.
Chris Lalancette
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]