[libvirt] [PATCH]: Fix sexpr generation again

Chris Lalancette clalance at redhat.com
Wed Aug 6 10:20:50 UTC 2008


DanB pointed out that my sexpr xend_internal patch from yesterday broke one of
the regression tests.  The problem is that the xenDaemonFormatSxpr{Disk,Net}
functions are shared between domain creation time and attaching disk time.
Unfortunately, though, Xend expects something different during these two times.
 During domain creation time, it wants the "(device" in front of the sexpr,
while during attach time it does not.  To remedy this situation, I added a flag
to these two functions to differentiate between these two modes.  With this
patch in place, all of the regression tests pass.

Signed-off-by: Chris Lalancette <clalance at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-fix-sexpr-attach.patch
Type: text/x-patch
Size: 3989 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080806/b2f41a0b/attachment-0001.bin>


More information about the libvir-list mailing list