# File lib/rbovirt.rb, line 98 def add_volume(vm_id, opts={}) storage_domain_id = opts[:storage_domain] || storagedomains.first.id result_xml = http_post("/vms/%s/disks" % vm_id, OVIRT::Volume.to_xml(storage_domain_id, opts)) end