[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 7/7] qdev-monitor: fix error message in find_device_state()
|
From: |
Michael S. Tsirkin |
|
Subject: |
[PULL 7/7] qdev-monitor: fix error message in find_device_state() |
|
Date: |
Tue, 9 Apr 2024 03:32:33 -0400 |
From: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
This "hotpluggable" here is misleading. Actually we check is object a
device or not. Let's drop the word.
Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20240329183758.3360733-3-vsementsov@yandex-team.ru>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
system/qdev-monitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/qdev-monitor.c b/system/qdev-monitor.c
index c1243891c3..840177d19f 100644
--- a/system/qdev-monitor.c
+++ b/system/qdev-monitor.c
@@ -891,7 +891,7 @@ static DeviceState *find_device_state(const char *id, Error
**errp)
dev = (DeviceState *)object_dynamic_cast(obj, TYPE_DEVICE);
if (!dev) {
- error_setg(errp, "%s is not a hotpluggable device", id);
+ error_setg(errp, "%s is not a device", id);
return NULL;
}
--
MST
- [PULL 0/7] virtio,pc,pci: bugfixes, Michael S. Tsirkin, 2024/04/09
- [PULL 2/7] virtio-snd: Enhance error handling for invalid transfers, Michael S. Tsirkin, 2024/04/09
- [PULL 1/7] Revert "hw/virtio: Add support for VDPA network simulation devices", Michael S. Tsirkin, 2024/04/09
- [PULL 3/7] virtio-snd: rewrite invalid tx/rx message handling, Michael S. Tsirkin, 2024/04/09
- [PULL 4/7] hw/virtio: Fix packed virtqueue flush used_idx, Michael S. Tsirkin, 2024/04/09
- [PULL 5/7] vdpa-dev: Fix the issue of device status not updating when configuration interruption is triggered, Michael S. Tsirkin, 2024/04/09
- [PULL 7/7] qdev-monitor: fix error message in find_device_state(),
Michael S. Tsirkin <=
- [PULL 6/7] vhost-user-blk: simplify and fix vhost_user_blk_handle_config_change, Michael S. Tsirkin, 2024/04/09
- Re: [PULL 0/7] virtio,pc,pci: bugfixes, Peter Maydell, 2024/04/09