Skip to content

Commit

Permalink
Revert "Advertise memory hotplug support"
Browse files Browse the repository at this point in the history
VM cannot reach full assigned 4GB via hotplug. Stop advertising the
feature until figure out why.

This reverts commit 5482f86.
  • Loading branch information
marmarek committed Dec 28, 2022
1 parent 990170f commit 04967f8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions kernel.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,6 @@ if [ "$krel" != "%kernelrelease" ]; then
exit 1
fi

if ! grep -q CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y .config; then
echo "Memory hotplug disabled!" >&2
exit 1
fi

make clean $MAKE_ARGS

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

# Modules for Qubes VM
mkdir -p %buildroot%vm_install_dir/modules
Expand Down Expand Up @@ -702,7 +696,6 @@ exit 0
%attr(0644, root, root) %vm_install_dir/initramfs
%attr(0644, root, root) %vm_install_dir/vmlinuz
%attr(0644, root, root) %vm_install_dir/default-kernelopts-common.txt
%attr(0644, root, root) %vm_install_dir/memory-hotplug-supported

%changelog
@CHANGELOG@

0 comments on commit 04967f8

Please sign in to comment.