View Issue Details

IDProjectCategoryView StatusLast Update
0001272channel: kernel/el9kernel-mlpublic2023-07-07 14:33
Reporterpperry Assigned Toburakkucat  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Summary0001272: Config options for dom0/domU xen support
DescriptionOpened for tracking purposes as we are currently in the process of working on the config.

Taken from: https://elrepo.org/bugs/view.php?id=1268#c8660

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_BLKDEV_BACKEND=m
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.
TagsNo tags attached.

Relationships

related to 0001364 resolvedstindall channel: kernel/el8 Please enable Xen virtio support for 6.X 

Activities

prymar56

2022-09-25 00:39

reporter   ~0008663

forgot this, very essential
CONFIG_XEN_BLKDEV_BACKEND=m

pperry

2022-09-25 08:45

administrator   ~0008664

Thanks - I've edited the original post above to include it.

toracat

2022-09-28 21:51

administrator   ~0008670

@prymar56

In kernel-ml-5.19.12-0.rc4.el9.elrepo, the Xen stuff is now enabled. Can you test this release?

https://elrepo.org/people/ajb/devel/kernel-ml/el9/x86_64/RPMS/

prymar56

2022-09-29 16:40

reporter   ~0008671

this kernel-ml-5.19.12-0.rc4.el9.elrepo was tested as Xen dom0 and in xfce desktop, both in Almalinux 9.
The results are good.

Only warning message:
[ 10.918291] [drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-22).

$ sudo xl info
host : al9dom0
release : 5.19.12-0.rc4.el9.elrepo.x86_64
version : #1 SMP PREEMPT_DYNAMIC Wed Sep 28 14:55:55 EDT 2022
machine : x86_64
nr_cpus : 4
max_cpu_id : 7
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 3410.016
hw_caps : bfebfbff:77bae3ff:28100800:00000001:00000001:00000281:00000000:00000100
virt_caps : pv hvm hap shadow
total_memory : 32685
free_memory : 5323
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 15
xen_extra : .3
xen_version : 4.15.3
xen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit2
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : b64f1c9e3e3a2a4-common/memory: Fix ifdefs for ptdom_max_order-W
xen_commandline : placeholder dom0_mem=1024M,max:1536M guest_loglvl=all loglvl=all console=vga vga=gfx-1280x1024x16 conring_size=48k sched=credit2 cpufreq=none com1=115200,8n1 console=com1 ucode=scan xpti=false dom0_max_vcpus=4
cc_compiler : gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
cc_compile_by : mockbuild
cc_compile_domain : prymar56.org
cc_compile_date : Mon Aug 1 15:15:52 PDT 2022
build_id : 9238a7a79698366bcede2745a0f03f78c91a4adc
xend_config_format : 4

dom0 booted in 35s with 6 VM and the XFCE desktop booted in 25s.

thanks for the continual improvement.

pperry

2022-09-29 19:02

administrator   ~0008672

Thanks for the feedback - much appreciated.

Any idea what may be causing the drm warning message? Do you see similar warnings when booting the RHEL kernel?

pperry

2022-09-30 03:04

administrator   ~0008676

It would appear the drm warning is cosmetic and comes from the i915 Intel graphics driver code, and can be ignored:

https://bugs.centos.org/view.php?id=16414

Marking this bug as resolved. If you have any more (related) issues, please feel free to reopen or open a new bug.

Thanks again for providing configs and testing.

Issue History

Date Modified Username Field Change
2022-09-24 18:23 pperry New Issue
2022-09-24 18:23 pperry Status new => assigned
2022-09-24 18:23 pperry Assigned To => burakkucat
2022-09-25 00:39 prymar56 Note Added: 0008663
2022-09-25 08:44 pperry Description Updated
2022-09-25 08:45 pperry Note Added: 0008664
2022-09-25 09:33 burakkucat Reproducibility have not tried => N/A
2022-09-25 09:33 burakkucat Status assigned => acknowledged
2022-09-28 21:51 toracat Note Added: 0008670
2022-09-28 21:51 toracat Status acknowledged => feedback
2022-09-29 16:40 prymar56 Note Added: 0008671
2022-09-29 19:02 pperry Note Added: 0008672
2022-09-29 19:02 pperry Status feedback => assigned
2022-09-29 19:26 burakkucat Status assigned => feedback
2022-09-30 03:04 pperry Note Added: 0008676
2022-09-30 03:04 pperry Status feedback => assigned
2022-09-30 03:04 pperry Status assigned => resolved
2022-09-30 03:04 pperry Resolution open => fixed
2023-07-07 14:33 toracat Relationship added related to 0001364