diff --git a/ChangeLog b/ChangeLog index dccc54ccc9..dc5259801b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Tue Jun 19 11:11:18 CEST 2007 Daniel Veillard + + * src/xend_internal.c: drop the release information as this + is usually garbage ending up polluting minor and major numbers. + * src/virsh.c: applied patch from Masayuki Sunou providing a pair + of alternate attach/detach commands + Mon Jun 18 16:59:00 BST 2007 Richard W.M. Jones * docs/libvir.html (Remote): Updated certificate documentation diff --git a/src/virsh.c b/src/virsh.c index 77d4fb6c18..aac3794a59 100644 --- a/src/virsh.c +++ b/src/virsh.c @@ -271,6 +271,9 @@ static void *_vshMalloc(vshControl * ctl, size_t sz, const char *filename, int l static void *_vshCalloc(vshControl * ctl, size_t nmemb, size_t sz, const char *filename, int line); #define vshCalloc(_ctl, _nmemb, _sz) _vshCalloc(_ctl, _nmemb, _sz, __FILE__, __LINE__) +static void *_vshRealloc(vshControl * ctl, void *ptr, size_t sz, const char *filename, int line); +#define vshRealloc(_ctl, _ptr, _sz) _vshRealloc(_ctl, _ptr, _sz, __FILE__, __LINE__) + static char *_vshStrdup(vshControl * ctl, const char *s, const char *filename, int line); #define vshStrdup(_ctl, _s) _vshStrdup(_ctl, _s, __FILE__, __LINE__) @@ -2733,6 +2736,521 @@ cmdDetachDevice(vshControl * ctl, vshCmd * cmd) } +/* + * "attach-interface" command + */ +static vshCmdInfo info_attach_interface[] = { + {"syntax", "attach-interface [--target ] [--mac ] [--script