Skip to content

Commit 04967f8

Browse files
committed
Revert "Advertise memory hotplug support"
VM cannot reach full assigned 4GB via hotplug. Stop advertising the feature until figure out why. This reverts commit 5482f86.
1 parent 990170f commit 04967f8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

kernel.spec.in

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,6 @@ if [ "$krel" != "%kernelrelease" ]; then
218218
exit 1
219219
fi
220220

221-
if ! grep -q CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y .config; then
222-
echo "Memory hotplug disabled!" >&2
223-
exit 1
224-
fi
225-
226221
make clean $MAKE_ARGS
227222

228223
rm -f source
@@ -525,7 +520,6 @@ if [ -e /usr/lib/dracut/modules.d/90qubes-vm-simple/xen-scrub-pages-supported ];
525520
def_kernelopts="$def_kernelopts xen_scrub_pages=0"
526521
fi
527522
echo "$def_kernelopts " > %buildroot/%vm_install_dir/default-kernelopts-common.txt
528-
touch %buildroot/%vm_install_dir/memory-hotplug-supported
529523

530524
# Modules for Qubes VM
531525
mkdir -p %buildroot%vm_install_dir/modules
@@ -702,7 +696,6 @@ exit 0
702696
%attr(0644, root, root) %vm_install_dir/initramfs
703697
%attr(0644, root, root) %vm_install_dir/vmlinuz
704698
%attr(0644, root, root) %vm_install_dir/default-kernelopts-common.txt
705-
%attr(0644, root, root) %vm_install_dir/memory-hotplug-supported
706699

707700
%changelog
708701
@CHANGELOG@

0 commit comments

Comments
 (0)