[libvirt] [PATCH 1/2] virsh: Don't use legacy API if --current is used on device hot(un)plug
Eric Blake
eblake at redhat.com
Tue Jan 7 17:44:20 UTC 2014
On 01/07/2014 10:12 AM, Peter Krempa wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1049529
>
> The legacy virDomainAttachDevice and virDomainDetachDevice operate only
> on active domains. When a user specified --current flag with an inactive
> domain the old API was used and reported an error. Fix it by calling the
> new API if --current is specified explicitly.
> ---
> tools/virsh-domain.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140107/e1a078d8/attachment-0001.sig>
More information about the libvir-list
mailing list