From: Eugene Fedotov <e.fedotov@samsung.com>
To: xen-devel@lists.xen.org, Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: [PATCH RESEND v5 2/6] xen/arm: Implement get_maximum_gpfn hypercall for arm
Date: Fri, 15 Nov 2013 11:04:55 +0400 [thread overview]
Message-ID: <5285C797.9010309@samsung.com> (raw)
In-Reply-To: <1384340304.5406.58.camel@kazak.uk.xensource.com>
13.11.2013 14:58, Ian Campbell пишет:
> On Wed, 2013-11-13 at 12:28 +0400, Eugene Fedotov wrote:
>>>> diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c
>>>> index 123280e..3801f07 100644
>>>> --- a/xen/arch/arm/mm.c
>>>> +++ b/xen/arch/arm/mm.c
>>>> @@ -927,7 +927,11 @@ int page_is_ram_type(unsigned long mfn, unsigned long mem_type)
>>>>
>>>> unsigned long domain_get_maximum_gpfn(struct domain *d)
>>> s/unsigned long/xen_pfn_t/ I think.
>>>
>>> Urk, which will break the ABI for this hypercall. That's something of a
>>> conundrum :-/
>>>
>>> It is a domctl so we are at liberty to change it, probably to taking a
>>> xen_pfn_t * to fill in instead of returning the value.
>>>
>>> I'm in two minds about whether we should do so now or postpone it (which
>>> risks forgetting and having an obscure bug somewhere down the line).
>> OK, this way, or other solution is to purge this hypercall yet in
>> migration and use max_memkb field in DOMCTL_getdomaininfo to obtain the
>> maximum PFN.
> Is there an interface to retrieve that? I don't see it :-(
No, it is another hypercall XEN_DOMCTL_getdomaininfo. max_memkb field in
xc_dominfo_t structure is a second way to retrieve maximum memory size
and calculate PFN. Do we need domain_get_maximum_gpfn ?
Best regards,
Evgeny.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2013-11-15 7:04 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-08 7:50 [PATCH RESEND v5 0/6] xen/arm: live migration support in arndale board Jaeyong Yoo
2013-11-08 7:50 ` [PATCH RESEND v5 1/6] xen/arm: Implement hvm save and restore Jaeyong Yoo
2013-11-12 15:15 ` Ian Campbell
2013-11-13 8:00 ` Eugene Fedotov
2013-11-13 10:56 ` Ian Campbell
[not found] ` <52836784.8050008@samsung.com>
[not found] ` <1384343257.5406.86.camel@kazak.uk.xensource.com>
2013-11-13 12:22 ` Ian Campbell
2013-11-13 12:31 ` Eugene Fedotov
2013-11-13 12:25 ` Eugene Fedotov
2013-11-08 7:50 ` [PATCH RESEND v5 2/6] xen/arm: Implement get_maximum_gpfn hypercall for arm Jaeyong Yoo
2013-11-12 15:21 ` Ian Campbell
2013-11-13 8:28 ` Eugene Fedotov
2013-11-13 10:58 ` Ian Campbell
2013-11-15 7:04 ` Eugene Fedotov [this message]
2013-11-19 12:35 ` Eugene Fedotov
2013-11-19 12:53 ` Ian Campbell
2013-11-19 13:09 ` Eugene Fedotov
2013-11-08 7:50 ` [PATCH RESEND v5 3/6] xen/arm: Implement modify_returncode Jaeyong Yoo
2013-11-12 15:24 ` Ian Campbell
2013-11-13 8:40 ` Eugene Fedotov
2013-11-08 7:50 ` [PATCH RESEND v5 4/6] xen/arm: Implement virtual-linear page table for guest p2m mapping in live migration Jaeyong Yoo
2013-11-12 15:58 ` Ian Campbell
2013-11-14 23:58 ` Jaeyong Yoo
2013-11-18 3:47 ` Jaeyong Yoo
2013-11-19 11:42 ` Ian Campbell
2013-11-19 11:37 ` Ian Campbell
2013-11-08 7:50 ` [PATCH RESEND v5 5/6] xen/arm: Implement hypercall for dirty page tracing Jaeyong Yoo
2013-11-12 16:56 ` Ian Campbell
2013-11-15 2:26 ` Jaeyong Yoo
2013-11-19 1:32 ` Jaeyong Yoo
2013-11-19 11:57 ` Ian Campbell
2013-11-20 9:49 ` Jaeyong Yoo
2013-11-20 10:03 ` Ian Campbell
2013-11-19 11:54 ` Ian Campbell
2013-11-15 4:15 ` Jaeyong Yoo
2013-11-19 11:38 ` Ian Campbell
2013-11-08 7:50 ` [PATCH RESEND v5 6/6] xen/arm: Implement toolstack for xl restore/save and migrate Jaeyong Yoo
2013-11-12 17:22 ` Ian Campbell
2013-11-13 9:57 ` Eugene Fedotov
2013-11-13 11:09 ` Ian Campbell
[not found] ` <52836DCA.7080206@samsung.com>
[not found] ` <1384345148.5406.94.camel@kazak.uk.xensource.com>
2013-11-13 12:21 ` Ian Campbell
2013-11-13 12:25 ` Fwd: " Eugene Fedotov
2013-11-19 11:06 ` Eugene Fedotov
2013-11-19 12:01 ` Ian Campbell
2014-04-01 19:39 ` [PATCH RESEND v5 0/6] xen/arm: live migration support in arndale board Julien Grall
2014-04-02 15:06 ` Wei Huang
2014-04-02 15:21 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5285C797.9010309@samsung.com \
--to=e.fedotov@samsung.com \
--cc=Ian.Campbell@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.