Skip to contentSkip to conversation

HVM dynamic physical memory

DISCUSSION David Pilger 2 participants 5 messages Dec 31, 2006

lore
Share & tools
lore
#0 lore raw

Does Xen support a dynamic allocation of physical memory for a HVM domain? Like the baloon driver of a domU?

If not, how can this be achieved if this is possible at all?

Thanks,
David.

#1 lore raw
Quoted 4 lines · David Pilger

Does Xen support a dynamic allocation of physical memory for a HVM domain? Like the baloon driver of a domU?

If not, how can this be achieved if this is possible at all?

All that's missing is the balloon driver itself (but the PV Linux one could be used as a basis), support for using the memory-reservation hypercall from HVM context, and a way to blow away qemu's memory-mapping cache when memory is given back to Xen from the HVM guest.

-- Keir

#2 lore raw
Quoted 6 lines · Keir Fraser

All that's missing is the balloon driver itself (but the PV Linux one could be used as a basis), support for using the memory-reservation hypercall from HVM context, and a way to blow away qemu's memory-mapping cache when memory is given back to Xen from the HVM guest.

If you plan to not modify the HVM, Is there a way to make portions of physical memory unusable for a HVM windows from the hypervisor in a dynamic way?

Thanks,

#3 lore raw
Quoted 11 lines · David Pilger
Quoted 6 lines · Keir Fraser

All that's missing is the balloon driver itself (but the PV Linux one could be used as a basis), support for using the memory-reservation hypercall from HVM context, and a way to blow away qemu's memory-mapping cache when memory is given back to Xen from the HVM guest.

If you plan to not modify the HVM, Is there a way to make portions of physical memory unusable for a HVM windows from the hypervisor in a dynamic way?

In a way that is detectable by the guest OS in a way that causes it to react in a reasonable way? Unlikely, since there is no equivalent of this on a native x86 platform.

-- Keir

#4 lore raw
Quoted 10 lines · Keir Fraser
Quoted 8 lines · David Pilger
Quoted 6 lines · Keir Fraser

All that's missing is the balloon driver itself (but the PV Linux one could be used as a basis), support for using the memory-reservation hypercall from HVM context, and a way to blow away qemu's memory-mapping cache when memory is given back to Xen from the HVM guest.

Quoted 8 lines
Quoted 3 lines

If you plan to not modify the HVM, Is there a way to make portions of physical memory unusable for a HVM windows from the hypervisor in a dynamic way?

In a way that is detectable by the guest OS in a way that causes it to react in a reasonable way? Unlikely, since there is no equivalent of this on a native x86 platform.

Pretty conclusive :)
Thanks!