Jacob Leaver wrote: > --- ext/libvirt/_libvirt.c.orig 2009-01-19 18:24:22.000000000 -0800 > +++ ext/libvirt/_libvirt.c 2009-01-19 18:24:39.000000000 -0800 > @@ -1921,7 +1936,8 @@ > rb_define_method(c_domain, "autostart", libvirt_dom_autostart, 0); > rb_define_method(c_domain, "autostart=", > libvirt_dom_autostart_set, 1); > rb_define_method(c_domain, "free", libvirt_dom_free, 0); > - > + rb_define_method(c_domain, "attach_device", > libvirt_dom_attach_device_xml, 1); > + rb_define_method(c_domain, "detach_device", > libvirt_dom_detach_device_xml, 1); > /* > * Class Libvirt::Domain::Info > */ > Appreciated, but it looks like the equivalent patch is already in ruby-libvirt.hg: changeset: 78:475666c33f7e tag: tip user: Martin Gajdos <unabatede@xxxxxxxxx> date: Thu Jun 18 16:31:46 2009 -0700 summary: * ext/_libvirt.c: bindings for attaching and detaching device -- Chris Lalancette -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list