Comment 14 for bug 1233466

Revision history for this message
Andy Whitcroft (apw) wrote :

@Pitti -- for completeness this is the proposed udev rule which is being tested:

# On Hyper-V Virtual Machines we want to add memory and cpus on demand.
ATTR{[dmi/id]sys_vendor}!="Microsoft Corporation", GOTO="hyperv_hotadd_end"
ATTR{[dmi/id]product_name}!="Virtual Machine", GOTO="hyperv_hotadd_end"

# Memory hotadd request
SUBSYSTEM=="memory", ACTION=="add", DEVPATH=="/devices/system/memory/memory*[0-9]", TEST=="state", ATTR{state}="online"

# CPU hotadd request
SUBSYSTEM=="cpu", ACTION=="add", DEVPATH=="/devices/system/cpu/cpu*[0-9]", TEST=="online", ATTR{online}="1"

LABEL="hyperv_hotadd_end"