VCPU Hotplug

热插vcpu主要流程

hotpluggable配置缺省值

qemuDomainAttachDevice
qemuDomainAttachDeviceFlags
qemuDomainAttachDeviceLiveAndConfig
qemuDomainAttachDeviceConfig
virDomainDefPostParse
virDomainDefPostParseCommon
virDomainVcpuDefPostParse

以下代码可以确定,当没有配置vcpu的hotpluggable时:

  1. 如果使能了vcpu,那么就是不可热插拔
  2. 如果没有使能vcpu,那么就是可热插拔
    hotpluggable_not_set

VCPU Hotplug
https://gjorn4389.github.io/2024/03/13/virtual/vcpu_hotplug/
作者
Gjorn
发布于
2024年3月13日
许可协议