diff --git a/layers/meta-belden-coreos-bsp/conf/machine/include/coreos-generic-machine/vm.inc b/layers/meta-belden-coreos-bsp/conf/machine/include/coreos-generic-machine/vm.inc index b9c3df6..c4a45d2 100644 --- a/layers/meta-belden-coreos-bsp/conf/machine/include/coreos-generic-machine/vm.inc +++ b/layers/meta-belden-coreos-bsp/conf/machine/include/coreos-generic-machine/vm.inc @@ -11,7 +11,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" MACHINE_EXTRA_RRECOMMENDS += "kernel-modules linux-firmware" -IMAGE_FSTYPES += "ext4 wic wic.xz wic.bmap wic.vmdk" +IMAGE_FSTYPES += "ext4 wic wic.xz wic.bmap wic.vmdk wic.vhdx" WKS_FILE ?= "generic-uefi.wks.in" do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot" diff --git a/layers/meta-belden-coreos-bsp/recipes-kernel/linux/files/hyperv.cfg b/layers/meta-belden-coreos-bsp/recipes-kernel/linux/files/hyperv.cfg new file mode 100644 index 0000000..ca02d80 --- /dev/null +++ b/layers/meta-belden-coreos-bsp/recipes-kernel/linux/files/hyperv.cfg @@ -0,0 +1,16 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_PARAVIRT=y +CONFIG_PARAVIRT_SPINLOCKS=y +CONFIG_CONNECTOR=y +CONFIG_SCSI_FC_ATTRS=y +CONFIG_HYPERV=y +CONFIG_HYPERV_UTILS=y +CONFIG_HYPERV_BALLOON=y +CONFIG_HYPERV_STORAGE=y +CONFIG_HYPERV_NET=y +CONFIG_HYPERV_KEYBOARD=y +CONFIG_FB_HYPERV=y +CONFIG_HID_HYPERV_MOUSE=y +CONFIG_PCI_HYPERV=y +CONFIG_VSOCKETS=y +CONFIG_HYPERV_VSOCKETS=y diff --git a/layers/meta-belden-coreos-bsp/recipes-kernel/linux/linux-yocto_5.15.bbappend b/layers/meta-belden-coreos-bsp/recipes-kernel/linux/linux-yocto_5.15.bbappend index 4f72e0b..7c7116d 100644 --- a/layers/meta-belden-coreos-bsp/recipes-kernel/linux/linux-yocto_5.15.bbappend +++ b/layers/meta-belden-coreos-bsp/recipes-kernel/linux/linux-yocto_5.15.bbappend @@ -14,3 +14,4 @@ LINUX_VERSION:beaglebone = "5.15.54" require ${@bb.utils.contains("COMBINED_FEATURES", "efi", "linux-yocto-coreos-efi.inc", "", d)} SRC_URI += " file://k3s_kernel_adaptions.cfg" +SRC_URI:append:vm-x64 = " file://hyperv.cfg"