diff --git a/xen/arch/x86/hvm/dom0_build.c b/xen/arch/x86/hvm/dom0_build.c index 881e8e21b0..f536f5dcc4 100644 --- a/xen/arch/x86/hvm/dom0_build.c +++ b/xen/arch/x86/hvm/dom0_build.c @@ -229,6 +229,7 @@ static int __init pvh_add_mem_range(struct domain *d, uint64_t s, uint64_t e, if ( rs == e && d->arch.e820[i].type == type ) { d->arch.e820[i].addr = s; + d->arch.e820[i].size += e - s; return 0; }