On 01/25/2011 02:56 AM, Wen Congyang wrote: > > Signed-off-by: Wen Congyang <wency@xxxxxxxxxxxxxx> > > --- > src/libvirt.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/src/libvirt.c b/src/libvirt.c > index 5f8b131..c65b1e5 100644 > --- a/src/libvirt.c > +++ b/src/libvirt.c > @@ -5560,6 +5560,7 @@ virDomainAttachDeviceFlags(virDomainPtr domain, > > if (!VIR_IS_CONNECTED_DOMAIN(domain)) { > virLibDomainError(VIR_ERR_INVALID_DOMAIN, __FUNCTION__); > + virDispatchError(NULL); > return -1; ACK; applied. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list