Skip to contentSkip to conversation

kernel-build: enable XEN_BALLOON_MEMORY_HOTPLUG

PATCH In review Roger Pau Monne 3 participants 4 messages Mar 23, 2020 – Mar 24, 2020 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-build: enable XEN_BALLOON_MEMORY_HOTPLUG

This allows a PVH/HVM domain to use unpopulated memory ranges to map foreign memory or grants, and is required for a PVH dom0 to function properly.

---
 ts-kernel-build | 1 +
 1 file changed, 1 insertion(+)
ts-kernel-build +1 -0
index c976289e..89cdafcb 100755
@@ -511,6 +511,7 @@ setopt CONFIG_XEN_KBDDEV_FRONTEND y
 setopt CONFIG_XEN_FBDEV_FRONTEND y
 setopt CONFIG_XEN_PCIDEV_FRONTEND y
 setopt CONFIG_XEN_BALLOON y
+setopt CONFIG_XEN_BALLOON_MEMORY_HOTPLUG y
 setopt CONFIG_XEN_SCRUB_PAGES y
 setopt CONFIG_XEN_DEV_EVTCHN y
 setopt CONFIG_XEN_BACKEND y
Signature · 7 lines
2.25.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#1 lore raw

Roger Pau Monne writes ("[PATCH OSSTEST] kernel-build: enable XEN_BALLOON_MEMORY_HOTPLUG"):

Quoted 5 lines

This allows a PVH/HVM domain to use unpopulated memory ranges to map foreign memory or grants, and is required for a PVH dom0 to function properly.

I will push this to pretest immediately.

Thanks,
Ian.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Adding Juergen and Boris for feedback.

Quoted 6 lines · Ian Jackson

Ian Jackson writes ("Re: [PATCH OSSTEST] kernel-build: enable XEN_BALLOON_MEMORY_HOTPLUG"):

Quoted 5 lines

Roger Pau Monne writes ("[PATCH OSSTEST] kernel-build: enable XEN_BALLOON_MEMORY_HOTPLUG"):

Quoted 4 lines

This allows a PVH/HVM domain to use unpopulated memory ranges to map foreign memory or grants, and is required for a PVH dom0 to function properly.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

I will push this to pretest immediately.

Now done. Would you consider whether the default should be changed in Linux and prepare a patch to do so if appropriate ?

DYK if there's any reason why this is not on by default?

Thanks, Roger.

#4 lore raw
Quoted 11 lines · Roger Pau Monné

Adding Juergen and Boris for feedback.

Quoted 8 lines · Ian Jackson

Ian Jackson writes ("Re: [PATCH OSSTEST] kernel-build: enable XEN_BALLOON_MEMORY_HOTPLUG"):

Quoted 7 lines

Roger Pau Monne writes ("[PATCH OSSTEST] kernel-build: enable XEN_BALLOON_MEMORY_HOTPLUG"):

Quoted 5 lines

This allows a PVH/HVM domain to use unpopulated memory ranges to map foreign memory or grants, and is required for a PVH dom0 to function properly.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

I will push this to pretest immediately.

Now done. Would you consider whether the default should be changed in Linux and prepare a patch to do so if appropriate ?

DYK if there's any reason why this is not on by default?

AFAIK the default has been off since introduction in 2011.

I don't know the reason for that.

Juergen