]> git.ipfire.org Git - thirdparty/libvirt.git/commit
DanB pointed out that my sexpr xend_internal patch from yesterday broke one of
authorChris Lalancette <clalance@redhat.com>
Wed, 6 Aug 2008 11:26:47 +0000 (11:26 +0000)
committerChris Lalancette <clalance@redhat.com>
Wed, 6 Aug 2008 11:26:47 +0000 (11:26 +0000)
commitb8fb68be37b9119e16b5fe88e76e2af34e586658
tree8ed47266b444b3ffc67db8a2ffad324f69e0dc6d
parent6335c2a0cc6e2056d5f2c7724c764ed94cee5d96
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@redhat.com>
ChangeLog
src/xend_internal.c