You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
450 B

  1. # On QEMU/KVM machines we want to add memory and cpus as soon as they appear
  2. # As of 2021-09-29, the file 40-vm-hotadd.rules does exactly the same thing for Xen and Hyper-V
  3. ATTR{[dmi/id]sys_vendor}=="QEMU", GOTO="vm_hotadd_apply"
  4. GOTO="vm_hotadd_end"
  5. LABEL="vm_hotadd_apply"
  6. # CPU hotadd request
  7. SUBSYSTEM=="cpu", ACTION=="add", DEVPATH=="/devices/system/cpu/cpu[0-9]*", TEST=="online", ATTR{online}!="1", ATTR{online}="1"
  8. LABEL="vm_hotadd_end"