[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Xen-ia64-devel] [PATCH] Fix that guest can not get continuous memory for vhpt
>From: Isaku Yamahata [mailto:yamahata@xxxxxxxxxxxxx]
>Sent: 2009年2月19日 11:12
>To: Zhang, Yang
>Subject: Re: [Xen-ia64-devel] [PATCH] Fix that guest can not get continuous
>memory for vhpt
>- It is a poor approach to introduce new HVM_PARAM_VHPT_SIZE.
> This is inconsistent with XEN_DOMCTL_arch_setup by which libxc tells
> VMM vhpt size of PV domain.
> So the first idea which came into my mind is to call
> XEN_DOMCTL_ARCH_setup before populating domain memory.
> I haven't checked if it's possible or not, though. Maybe we can introduce
> new XEN_DOMAINSETUP_xxx flag.
I doesn't introduce HVM_PARAM_VHPT_SIZE. The hvm needs it to save the
vhpt'size for allocating vhpt's memory when vcpu boot. I just add some code to
save memory for vhpt beforehand when libxc tells VMM vhpt size of hvm. And I
don't think PV domain need to do this.
Xen-ia64-devel mailing list