调整cpu和内存查看子机配置:
virsh dominfo test02
virsh edit test02
修改:
<memory unit='KiB'>524288</memory>
<currentMemory unit='KiB'>524288</currentMemory>
<vcpu placement='static'>1</vcpu>
为:
<memory unit='KiB'>624288</memory>
<currentMemory unit='KiB'>624288</currentMemory>
<vcpu placement='static'>2</vcpu>
重启虚拟机:
virsh destroy test02
virsh start test02
转载于:https://blog.51cto.com/xiongrc/1788179