无法直接从VM中删除vCPU, 但您可以通过关闭VM后再删除vCPU;
发布日期:2021-09-16 04:37:04
浏览次数:2
分类:技术文章
本文共 1016 字,大约阅读时间需要 3 分钟。
无法直接从VM中拔除vCPU, 但您可以通过关闭VM后再拔除vCPU;
[root@test-kvm ~]# virsh list --all Id Name State ---------------------------------------------------- 1 generic running 10 centos7 running [root@test-kvm ~]# virsh setvcpus centos7 1 error: unsupported configuration: failed to find appropriate hotpluggable vcpus to reach the desired target vcpu count [root@test-kvm log]# virsh setvcpus --config centos7 1 [root@test-kvm log]# virsh destroy centos7 Domain centos7 destroyed [root@test-kvm log]# virsh start centos7 Domain centos7 started [root@test-kvm log]# virsh dominfo centos7 Id: 11 Name: centos7 UUID: 6693189b-0a29-4225-b822-724001270bc0 OS Type: hvm State: running CPU(s): 1 CPU time: 3.3s Max memory: 4194304 KiB Used memory: 4194304 KiB Persistent: yes Autostart: disable Managed save: no Security model: none Security DOI: 0
转载地址:https://blog.csdn.net/wllabs/article/details/77948049 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
逛到本站,mark一下
[***.202.152.39]2024年04月09日 08时06分55秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
Scratch等级考试(二级)模拟题
2019-04-27
如何在Jupyter Lab中显示pyecharts的图形?
2019-04-27
什么是Python之禅?
2019-04-27
【青少年编程】【Scratch】01 运动模块
2019-04-27
json的序列化与反序列化
2019-04-27
【第16周复盘】学习的飞轮
2019-04-27
如何利用pyecharts绘制炫酷的关系网络图?
2019-04-27
NCEPU:线下组队学习周报(007)
2019-04-27
【青少年编程】【二级】寻找宝石
2019-04-27
【组队学习】【26期】Linux教程
2019-04-27
解决 nginx: [error] open() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory) 问题
2019-04-27
LeetCode-122. 买卖股票的最佳时机 II(Goland实现)
2019-04-27
LeetCode-136. 只出现一次的数字(Goland实现)
2019-04-27
go-递归实现二叉树的三种排序方式(前序、中序、后序)【详细】
2019-04-27
LeetCode-409. 最长回文串(Goland实现)
2019-04-27
LeetCode-LCP 18. 早餐组合(Goland实现)
2019-04-27
C++从入门到进阶近100本书推荐电子书pdf
2019-04-28
蓝桥杯 - [2014年第五届真题]分糖果(模拟)
2019-04-28
蓝桥杯 - [2013年第四届真题]大臣的旅费(DFS)
2019-04-28
蓝桥杯 - [2013年第四届真题]带分数(全排列)
2019-04-28