You are not logged in.

#1 2014-12-30 21:09:21

Hoeze
Member
Registered: 2014-12-30
Posts: 2

Disable PCI devises with /sys/bus/pci/devices/*/power/control

Hi,
I set up KVM with VGA passthrough on my PC, the GPU has no driver on the host.
Everytime I stop a VM, the display just freezes. In order to save energy, I'd like to disable the GPU and only re-enable it, when it's needed.
Unfortunately it does not work:

# cat /sys/bus/pci/devices/0000\:01\:00.0/power/control
on
# echo off > /sys/bus/pci/devices/0000\:01\:00.0/power/control
-bash: echo: Schreibfehler: Das Argument ist ungültig.

Offline

Board footer

Powered by FluxBB