# find / -xdev -type f -name '*.rules' -print0 | xargs -0 fgrep memory
/lib/udev/rules.d/40-vm-hotadd.rules:# On Hyper-V and Xen Virtual Machines we want to add memory and cpus as soon as they appear
/lib/udev/rules.d/40-vm-hotadd.rules:#SUBSYSTEM=="memory", ACTION=="add", DEVPATH=="/devices/system/memory/memory[0-9]*", TEST=="state", ATTR{state}="online"
Just to be thorough:
# find / -xdev -type f -name '*.rules' -print0 | xargs -0 fgrep memory rules.d/ 40-vm-hotadd. rules:# On Hyper-V and Xen Virtual Machines we want to add memory and cpus as soon as they appear rules.d/ 40-vm-hotadd. rules:# SUBSYSTEM= ="memory" , ACTION=="add", DEVPATH= ="/devices/ system/ memory/ memory[ 0-9]*", TEST=="state", ATTR{state} ="online"
/lib/udev/
/lib/udev/