cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
Blob Blame History Raw
From ca2d050f0de557b4955f019402428487176925b6 Mon Sep 17 00:00:00 2001
From: Miroslav Rezanina <mrezanin@redhat.com>
Date: Mon, 22 Apr 2013 14:38:38 +0200
Subject: Disable unsupported usb devices

Bugzilla: 903914

Patch deactivates device we do not support in RHEL7:
- usb-audio
- usb-braille
- usb-bt-dongle
- usb-net
- usb-serial
- usb-wacom-tablet
- pci-ohci

diff --git a/default-configs/pci.mak b/default-configs/pci.mak
index d557eab..78f1579 100644
--- a/default-configs/pci.mak
+++ b/default-configs/pci.mak
@@ -2,7 +2,6 @@ CONFIG_PCI=y
 CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO=y
 CONFIG_USB_UHCI=y
-CONFIG_USB_OHCI=y
 CONFIG_USB_EHCI=y
 CONFIG_USB_XHCI=y
 CONFIG_NE2000_PCI=y
diff --git a/default-configs/usb.mak b/default-configs/usb.mak
index 1bf9075..9a3bd09 100644
--- a/default-configs/usb.mak
+++ b/default-configs/usb.mak
@@ -2,7 +2,3 @@ CONFIG_USB_TABLET_WACOM=y
 CONFIG_USB_STORAGE_BOT=y
 CONFIG_USB_STORAGE_UAS=y
 CONFIG_USB_SMARTCARD=y
-CONFIG_USB_AUDIO=y
-CONFIG_USB_SERIAL=y
-CONFIG_USB_NETWORK=y
-CONFIG_USB_BLUETOOTH=y