View Issue Details

IDProjectCategoryView StatusLast Update
0001268channel: kernel/el9--kernel--request-for-enhancement--public2022-10-03 21:44
Reportertoracat Assigned Toburakkucat  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Summary0001268: Please set CONFIG_XEN_PVH=y
DescriptionRequest made by ChmEarl in #elrepo:

< ChmEarl> CONFIG_XEN_PVH is not set
< ChmEarl> should be CONFIG_XEN_PVH=y

< ChmEarl> http://199.249.188.45/xen/alma9/kernel-ml/5.19/al9-kml-menuconfig-xen.png
TagsNo tags attached.

Activities

burakkucat

2022-09-22 12:08

administrator   ~0008640

aarch64 ? x86_64 ? or both ?

Why should I go to an unknown (to me) URL to look at an image? What is so difficult about following the procedure that has been documented?

toracat

2022-09-22 12:12

administrator   ~0008641

I think it is x86_64. But you might as well do the aarch64 if that is not a problem.

No need to look at the image. It is a snapshot of "make config" highlighting the 'XEN_PVH guest support' line.

burakkucat

2022-09-22 16:16

administrator   ~0008644

The configuration option has been queued and will be enabled once the relevant section of both configuration files is reached.

toracat

2022-09-22 17:42

administrator   ~0008646

@prymar56 filed a request for Xen here:

https://elrepo.org/bugs/view.php?id=1194#c8645

burakkucat

2022-09-22 18:01

administrator   ~0008648

The two configuration files are still very much "work in progress". Here is a snapshot, "as of now" --

[quote]
[nosd kernel-ml-el9]$ grep 'XEN' config*
config-5.19.10-aarch64:CONFIG_XEN_DOM0=y
config-5.19.10-aarch64:CONFIG_XEN=y
config-5.19.10-aarch64:CONFIG_XEN_BLKDEV_FRONTEND=y
config-5.19.10-aarch64:# CONFIG_XEN_BLKDEV_BACKEND is not set
config-5.19.10-aarch64:# CONFIG_XEN_SCSI_FRONTEND is not set
config-5.19.10-aarch64:CONFIG_NETXEN_NIC=m
config-5.19.10-aarch64:CONFIG_XEN_NETDEV_FRONTEND=y
config-5.19.10-aarch64:# CONFIG_XEN_NETDEV_BACKEND is not set
config-5.19.10-aarch64:CONFIG_HVC_XEN=y
config-5.19.10-aarch64:CONFIG_HVC_XEN_FRONTEND=y
config-5.19.10-aarch64:# CONFIG_TCG_XEN is not set
config-5.19.10-aarch64:# CONFIG_XEN_WDT is not set
config-5.19.10-aarch64:# CONFIG_DRM_XEN_FRONTEND is not set
config-5.19.10-aarch64:CONFIG_XEN_FBDEV_FRONTEND=y
config-5.19.10-aarch64:# CONFIG_USB_XEN_HCD is not set
config-5.19.10-aarch64:# CONFIG_MMC_SDHCI_XENON is not set
config-5.19.10-aarch64:CONFIG_XEN_BALLOON=y
config-5.19.10-aarch64:CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
config-5.19.10-aarch64:CONFIG_XEN_SCRUB_PAGES_DEFAULT=y
config-5.19.10-aarch64:CONFIG_XEN_DEV_EVTCHN=y
config-5.19.10-aarch64:CONFIG_XEN_BACKEND=y
config-5.19.10-aarch64:CONFIG_XENFS=y
config-5.19.10-aarch64:CONFIG_XEN_COMPAT_XENFS=y
config-5.19.10-aarch64:CONFIG_XEN_SYS_HYPERVISOR=y
config-5.19.10-aarch64:CONFIG_XEN_XENBUS_FRONTEND=y
config-5.19.10-aarch64:CONFIG_XEN_GNTDEV=m
config-5.19.10-aarch64:CONFIG_XEN_GNTDEV_DMABUF=y
config-5.19.10-aarch64:CONFIG_XEN_GRANT_DEV_ALLOC=m
config-5.19.10-aarch64:CONFIG_XEN_GRANT_DMA_ALLOC=y
config-5.19.10-aarch64:CONFIG_SWIOTLB_XEN=y
config-5.19.10-aarch64:CONFIG_XEN_PCI_STUB=y
config-5.19.10-aarch64:CONFIG_XEN_PCIDEV_STUB=m
config-5.19.10-aarch64:CONFIG_XEN_PVCALLS_FRONTEND=m
config-5.19.10-aarch64:CONFIG_XEN_PVCALLS_BACKEND=m
config-5.19.10-aarch64:CONFIG_XEN_SCSI_BACKEND=m
config-5.19.10-aarch64:CONFIG_XEN_PRIVCMD=y
config-5.19.10-aarch64:CONFIG_XEN_EFI=y
config-5.19.10-aarch64:CONFIG_XEN_AUTO_XLATE=y
config-5.19.10-aarch64:CONFIG_XEN_UNPOPULATED_ALLOC=y
config-5.19.10-aarch64:CONFIG_XEN_GRANT_DMA_IOMMU=y
config-5.19.10-aarch64:CONFIG_XEN_GRANT_DMA_OPS=y
config-5.19.10-aarch64:CONFIG_XEN_VIRTIO=y
config-5.19.10-aarch64:CONFIG_XEN_VIRTIO_FORCE_GRANT=y
config-5.19.10-x86_64:CONFIG_XEN=y
config-5.19.10-x86_64:CONFIG_XEN_PV=y
config-5.19.10-x86_64:CONFIG_XEN_512GB=y
config-5.19.10-x86_64:CONFIG_XEN_PV_SMP=y
config-5.19.10-x86_64:CONFIG_XEN_PV_DOM0=y
config-5.19.10-x86_64:CONFIG_XEN_PVHVM=y
config-5.19.10-x86_64:CONFIG_XEN_PVHVM_SMP=y
config-5.19.10-x86_64:CONFIG_XEN_PVHVM_GUEST=y
config-5.19.10-x86_64:CONFIG_XEN_SAVE_RESTORE=y
config-5.19.10-x86_64:# CONFIG_XEN_DEBUG_FS is not set
config-5.19.10-x86_64:CONFIG_XEN_PVH=y
config-5.19.10-x86_64:CONFIG_XEN_DOM0=y
config-5.19.10-x86_64:CONFIG_PCI_XEN=y
config-5.19.10-x86_64:CONFIG_KVM_XEN=y
config-5.19.10-x86_64:CONFIG_XEN_PCIDEV_FRONTEND=y
config-5.19.10-x86_64:CONFIG_XEN_BLKDEV_FRONTEND=m
config-5.19.10-x86_64:# CONFIG_XEN_SCSI_FRONTEND is not set
config-5.19.10-x86_64:CONFIG_NETXEN_NIC=m
config-5.19.10-x86_64:CONFIG_XEN_NETDEV_FRONTEND=m
config-5.19.10-x86_64:CONFIG_INPUT_XEN_KBDDEV_FRONTEND=m
config-5.19.10-x86_64:CONFIG_HVC_XEN=y
config-5.19.10-x86_64:CONFIG_HVC_XEN_FRONTEND=y
config-5.19.10-x86_64:# CONFIG_TCG_XEN is not set
config-5.19.10-x86_64:# CONFIG_XEN_WDT is not set
config-5.19.10-x86_64:# CONFIG_DRM_XEN_FRONTEND is not set
config-5.19.10-x86_64:# CONFIG_XEN_FBDEV_FRONTEND is not set
config-5.19.10-x86_64:CONFIG_SND_XEN_FRONTEND=m
config-5.19.10-x86_64:# CONFIG_USB_XEN_HCD is not set
config-5.19.10-x86_64:# CONFIG_MMC_SDHCI_XENON is not set
config-5.19.10-x86_64:# CONFIG_XEN_BALLOON is not set
config-5.19.10-x86_64:CONFIG_XEN_MEMORY_HOTPLUG_LIMIT=512
config-5.19.10-x86_64:CONFIG_XEN_DEV_EVTCHN=m
config-5.19.10-x86_64:# CONFIG_XEN_BACKEND is not set
config-5.19.10-x86_64:CONFIG_XENFS=m
config-5.19.10-x86_64:CONFIG_XEN_COMPAT_XENFS=y
config-5.19.10-x86_64:CONFIG_XEN_SYS_HYPERVISOR=y
config-5.19.10-x86_64:CONFIG_XEN_XENBUS_FRONTEND=y
config-5.19.10-x86_64:# CONFIG_XEN_GNTDEV is not set
config-5.19.10-x86_64:# CONFIG_XEN_GRANT_DEV_ALLOC is not set
config-5.19.10-x86_64:# CONFIG_XEN_GRANT_DMA_ALLOC is not set
config-5.19.10-x86_64:CONFIG_SWIOTLB_XEN=y
config-5.19.10-x86_64:# CONFIG_XEN_PVCALLS_FRONTEND is not set
config-5.19.10-x86_64:CONFIG_XEN_PRIVCMD=m
config-5.19.10-x86_64:CONFIG_XEN_ACPI_PROCESSOR=m
config-5.19.10-x86_64:# CONFIG_XEN_MCE_LOG is not set
config-5.19.10-x86_64:CONFIG_XEN_HAVE_PVMMU=y
config-5.19.10-x86_64:CONFIG_XEN_EFI=y
config-5.19.10-x86_64:CONFIG_XEN_AUTO_XLATE=y
config-5.19.10-x86_64:CONFIG_XEN_ACPI=y
config-5.19.10-x86_64:CONFIG_XEN_SYMS=y
config-5.19.10-x86_64:CONFIG_XEN_HAVE_VPMU=y
config-5.19.10-x86_64:CONFIG_XEN_FRONT_PGDIR_SHBUF=m
config-5.19.10-x86_64:# CONFIG_XEN_UNPOPULATED_ALLOC is not set
config-5.19.10-x86_64:# CONFIG_XEN_VIRTIO is not set
[nosd kernel-ml-el9]$
[/quote]

prymar56

2022-09-24 15:19

reporter   ~0008660

I have a rebuild of this will full dom0/domU xen support installed and working, I took a look at the fc36 xen config for a similar kernel:

CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_SCSI_FRONTEND=m
CONFIG_XEN_WDT=m
CONFIG_DRM_XEN_FRONTEND=m
CONFIG_USB_XEN_HCD=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_GNTDEV=m
CONFIG_XEN_GRANT_DEV_ALLOC=m
# CONFIG_XEN_GRANT_DMA_ALLOC is not set
CONFIG_XEN_GRANT_DMA_OPS=y
CONFIG_XEN_VIRTIO_FORCE_GRANT=y
CONFIG_XEN_VIRTIO=y
CONFIG_XEN_UNPOPULATED_ALLOC=y

These are the corrected settings for dom0 and especially domU in dom0 guest support. IOW for dom0 to create domU guests, these are needed.
The above settings were missing or wrong in the elrepo config above for x86_64.

pperry

2022-09-24 18:25

administrator   ~0008661

Last edited: 2022-09-24 18:36

@prymar56 Thank you. I've opened a separate issue (below) so we can track the request:

https://elrepo.org/bugs/view.php?id=1272

We will feed back there once this has been added to the config.

toracat

2022-10-03 21:44

administrator   ~0008680

Resolved with the release of kernel-ml-6.0.0-1.el9.elrepo.

Issue History

Date Modified Username Field Change
2022-09-22 11:53 toracat New Issue
2022-09-22 11:53 toracat Status new => assigned
2022-09-22 11:53 toracat Assigned To => burakkucat
2022-09-22 12:08 burakkucat Note Added: 0008640
2022-09-22 12:12 toracat Note Added: 0008641
2022-09-22 16:16 burakkucat Status assigned => acknowledged
2022-09-22 16:16 burakkucat Note Added: 0008644
2022-09-22 17:42 toracat Note Added: 0008646
2022-09-22 18:01 burakkucat Note Added: 0008648
2022-09-24 15:19 prymar56 Note Added: 0008660
2022-09-24 18:25 pperry Note Added: 0008661
2022-09-24 18:35 pperry Note Edited: 0008661
2022-09-24 18:36 pperry Note Edited: 0008661
2022-10-03 21:44 toracat Status acknowledged => resolved
2022-10-03 21:44 toracat Resolution open => fixed
2022-10-03 21:44 toracat Note Added: 0008680