* src/virsh.c: patch from Evgeniy Sokolov for the undefine command
which can't take an id
Daniel
+Thu Jul 17 13:47:56 CEST 2008 Daniel Veillard <veillard@redhat.com>
+
+ * src/virsh.c: patch from Evgeniy Sokolov for the undefine command
+ which can't take an id
+
Wed Jul 16 22:36:43 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/libvirt.c src/openvz_driver.c: fix the description of the ID
if (!vshConnectionUsability(ctl, ctl->conn, TRUE))
return FALSE;
- if (!(dom = vshCommandOptDomain(ctl, cmd, "domain", &name)))
+ if (!(dom = vshCommandOptDomainBy(ctl, cmd, "domain", &name,
+ VSH_BYNAME|VSH_BYUUID)))
return FALSE;
if (virDomainUndefine(dom) == 0) {