diff mbox

[2/7] kvmtool: tweak kconfig for emulated hardware

Message ID 1436251126-24580-3-git-send-email-kraxel@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gerd Hoffmann July 7, 2015, 6:38 a.m. UTC
Disable stuff not emulated by kvmtool, no need
to waste time and code for that.

Enable virtio-blk and virtio-scsi.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 src/Kconfig | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/src/Kconfig b/src/Kconfig
index 7620067..2bb90c0 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -151,6 +151,7 @@  endmenu
 menu "Hardware support"
     config ATA
         depends on DRIVES
+        depends on !KVMTOOL
         bool "ATA controllers"
         default y
         help
@@ -169,6 +170,7 @@  menu "Hardware support"
             Use 32bit PIO accesses on ATA (minor optimization on PCI transfers).
     config AHCI
         depends on DRIVES
+        depends on !KVMTOOL
         bool "AHCI controllers"
         default y
         help
@@ -180,13 +182,13 @@  menu "Hardware support"
         help
             Support for SD cards on PCI host controllers.
     config VIRTIO_BLK
-        depends on DRIVES && QEMU_HARDWARE
+        depends on DRIVES && (QEMU_HARDWARE || KVMTOOL)
         bool "virtio-blk controllers"
         default y
         help
             Support boot from virtio-blk storage.
     config VIRTIO_SCSI
-        depends on DRIVES && QEMU_HARDWARE
+        depends on DRIVES && (QEMU_HARDWARE || KVMTOOL)
         bool "virtio-scsi controllers"
         default y
         help
@@ -217,12 +219,14 @@  menu "Hardware support"
             Support boot from qemu-emulated lsi53c895a scsi storage.
     config MEGASAS
         depends on DRIVES
+        depends on !KVMTOOL
         bool "LSI MegaRAID SAS controllers"
         default y
         help
             Support boot from LSI MegaRAID SAS scsi storage.
     config FLOPPY
         depends on DRIVES
+        depends on !KVMTOOL
         bool "Floppy controller"
         default y
         help
@@ -230,6 +234,7 @@  menu "Hardware support"
 
     config PS2PORT
         depends on KEYBOARD || MOUSE
+        depends on !KVMTOOL
         bool "PS/2 port"
         default y
         help
@@ -237,6 +242,7 @@  menu "Hardware support"
 
     config USB
         bool "USB"
+        depends on !KVMTOOL
         default y
         help
             Support USB devices.
@@ -323,6 +329,7 @@  menu "Hardware support"
         help
             Initialize the Memory Type Range Registers (on emulators).
     config PMTIMER
+        depends on !KVMTOOL
         bool "Use ACPI timer"
         default y
         help
@@ -367,6 +374,7 @@  menu "BIOS interfaces"
     config OPTIONROMS
         bool "Option ROMS"
         default y
+        depends on !KVMTOOL
         help
             Support finding and running option roms during POST.
     config OPTIONROMS_DEPLOYED
@@ -437,6 +445,7 @@  menu "BIOS interfaces"
 
     config TCGBIOS
         depends on S3_RESUME
+        depends on !KVMTOOL
         bool "TPM support and TCG BIOS extensions"
         default y
         help
@@ -464,6 +473,7 @@  menu "BIOS Tables"
             sometimes called DMI.
     config ACPI
         bool "ACPI"
+        depends on !KVMTOOL
         default y
         help
             Support generation of ACPI tables.