]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xen: Fix bogus error when attaching a device
authorJiri Denemark <jdenemar@redhat.com>
Tue, 5 Oct 2010 11:39:37 +0000 (13:39 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 5 Oct 2010 17:08:46 +0000 (19:08 +0200)
commitad4cb9056a173f057553403b17836859fd33b408
tree0c70d8ba0c1952445f8f81555dad206fb20b5e2c
parent577ad920d71e711b9c8a20d844ee1568e0e3c18b
xen: Fix bogus error when attaching a device

The xm internal xen driver only supports disk and network devices to be
added to a guest. On an attempt to attach any other device the xm driver
used VIR_ERR_XML_ERROR which resulted in a completely bogus error
message:

error: Failed to attach device from pci.xml
error: XML description for unknown device is not well formed or invalid
src/xen/xm_internal.c