lakitu: Add hyperv related options to support nvme device
CONFIG_PCI_HYPERV is needed to see NVMe device on Azure
NTFS_FS is needed to avoid cloud-init crash
DEV_SR is needed for endor to inject startup scripts.
BUG=b/171087699
TEST=Start an instance using zcat /proc/config.gz |grep HYPERV, _SR, NTFS
RELEASE_NOTE=None
Change-Id: I43f16be534a36be47ea059cfa3d0f5e09b46ba82
diff --git a/eclass/cros-kernel2.eclass b/eclass/cros-kernel2.eclass
index 7193242..6a678a8 100644
--- a/eclass/cros-kernel2.eclass
+++ b/eclass/cros-kernel2.eclass
@@ -223,6 +223,8 @@
x32
xen_guest
hyperv_guest
+ ntfs_fs
+ cdrom
)
acpi_ac_desc="Enable ACPI AC"
@@ -942,6 +944,18 @@
CONFIG_HYPERV_UTILS=y
CONFIG_HYPERV_TIMER=y
CONFIG_HYPERV_IOMMU=y
+CONFIG_FB_HYPERV=y
+CONFIG_PCI_HYPERV=y
+"
+
+ntfs_fs_desc="Microsoft NTFS support"
+ntfs_fs_config="
+CONFIG_NTFS_FS=m
+"
+
+cdrom_desc="CDROM support"
+cdrom_config="
+CONFIG_BLK_DEV_SR=y
"
vtconsole_desc="VT console"