Projects
home:Eustace:branches:Eulaceura:Factory
libvirt
_service:obs_scm:nodedev-delete-mdev.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:nodedev-delete-mdev.patch of Package libvirt
From b782178492141454fc263040708dffa039e7de2a Mon Sep 17 00:00:00 2001 From: mayunlong <mayunlong6@huawei.com> Date: Wed, 27 Mar 2024 01:08:02 +0800 Subject: [PATCH] nodedev: delete mdev mdev is deleted because it has no application scenario Signed-off-by: mayunlong <mayunlong6@huawei.com> --- src/node_device/node_device_driver.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/node_device/node_device_driver.c b/src/node_device/node_device_driver.c index a59cd08..f2c3b36 100644 --- a/src/node_device/node_device_driver.c +++ b/src/node_device/node_device_driver.c @@ -850,6 +850,10 @@ nodeDeviceCreateXMLMdev(virConnectPtr conn, { g_autofree char *uuid = NULL; + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", + _("Unsupported device type")); + return NULL; + if (!def->parent) { virReportError(VIR_ERR_XML_ERROR, "%s", _("cannot create a mediated device without a parent")); -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2