[libvirt] Patch for Ruby Bindings to include attach & detach device

David Lutterkort lutter at redhat.com
Thu Jun 18 23:33:19 UTC 2009


On Thu, 2009-06-18 at 12:31 +0200, Martin Gajdos wrote:
> What this small patch does is, it adds two functions to call
> "virDomainAttachDevice" & "virDomainDetachDevice" which allow devices
> to be attached & detached at run-time. The Ruby methods are called
> "attach_device" & "detach_device" and belong to the Domain class.

Thanks for sending this - I just committed the patch. For extra credit,
any chance I can get you to add a test to tests/tc_connect.rb that calls
these methods ?

David





More information about the libvir-list mailing list