diff options
author | Osier Yang <jyang@redhat.com> | 2011-08-23 16:53:15 +0800 |
---|---|---|
committer | Osier Yang <jyang@redhat.com> | 2011-08-23 16:53:15 +0800 |
commit | 0756e5ad929309d95fc085f014b44a448414ce9f (patch) | |
tree | 79b5632dc8d8065d76c097c90e750efbacff9475 /src/xenxs/xen_sxpr.c | |
parent | test: Cleanup improper VIR_ERR_NO_SUPPORT use (diff) | |
download | libvirt-0756e5ad929309d95fc085f014b44a448414ce9f.tar.gz libvirt-0756e5ad929309d95fc085f014b44a448414ce9f.tar.bz2 libvirt-0756e5ad929309d95fc085f014b44a448414ce9f.zip |
xen: Cleanup improper VIR_ERR_NO_SUPPORT use
Diffstat (limited to 'src/xenxs/xen_sxpr.c')
-rw-r--r-- | src/xenxs/xen_sxpr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xenxs/xen_sxpr.c b/src/xenxs/xen_sxpr.c index 1f5be5f15..6d8304084 100644 --- a/src/xenxs/xen_sxpr.c +++ b/src/xenxs/xen_sxpr.c @@ -1865,7 +1865,7 @@ xenFormatSxprOnePCI(virDomainHostdevDefPtr def, int detach) { if (def->managed) { - XENXS_ERROR(VIR_ERR_NO_SUPPORT, "%s", + XENXS_ERROR(VIR_ERR_CONFIG_UNSUPPORTED, "%s", _("managed PCI devices not supported with XenD")); return -1; } @@ -1915,7 +1915,7 @@ xenFormatSxprAllPCI(virDomainDefPtr def, if (def->hostdevs[i]->mode == VIR_DOMAIN_HOSTDEV_MODE_SUBSYS && def->hostdevs[i]->source.subsys.type == VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI) { if (def->hostdevs[i]->managed) { - XENXS_ERROR(VIR_ERR_NO_SUPPORT, "%s", + XENXS_ERROR(VIR_ERR_CONFIG_UNSUPPORTED, "%s", _("managed PCI devices not supported with XenD")); return -1; } |