summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2015-11-15 10:19:03 +0000
committerAlex Harpin <development@landsofshadow.co.uk>2015-11-15 10:19:03 +0000
commit74c572344be4ceccbbd2bb89668043adac0f3dee (patch)
tree7cc689e0eeb37baba0e24a58c4a2af14cd48b385 /Makefile.am
parentb2a2461bf971ed8caca9ab74cd1c842dbea224de (diff)
downloadvyatta-cfg-system-74c572344be4ceccbbd2bb89668043adac0f3dee.tar.gz
vyatta-cfg-system-74c572344be4ceccbbd2bb89668043adac0f3dee.zip
vyatta-cfg-system: enable usb autosuspend to reduce cpu usage on kvm
Add udev rules to enable USB autosuspend for QEMU emulated HIDs. Allowing the USB HID to be autosuspended reduces the CPU load on the host when guest VMs are idle. Based on the original patch by Gerd Hoffmann <kraxel@xxxxxxxxxx> Bug #495 http://bugzilla.vyos.net/show_bug.cgi?id=495
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 9af363fa..5445f9cd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -118,6 +118,7 @@ libudevdir = /lib/udev
udevrulesdir = /lib/udev/rules.d
libudev_SCRIPTS = scripts/vyatta_net_name
udevrules_DATA = sysconf/65-vyatta-net.rules
+udevrules_DATA += sysconf/42-qemu-usb.rules
cronhourlydir = /etc/cron.hourly
cronhourly_SCRIPTS = sysconf/vyatta-logrotate-hourly