Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1732882
| From | "Jan Beulich" <JBeulich@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Xen-devel] [PATCH 4/4] xen: select grant interface version |
| Date | 2017-09-15 15:30 +0200 |
| Message-ID | <upYQW-3nL-25@gated-at.bofh.it> (permalink) |
| References | <unu0V-Sv-3@gated-at.bofh.it> <unu0W-Sv-13@gated-at.bofh.it> <uoYzG-4ZA-45@gated-at.bofh.it> <upc9z-5vh-1@gated-at.bofh.it> <upYxA-3ec-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
>>> On 15.09.17 at 15:00, <jgross@suse.com> wrote: > So I've found the data I've searched in the hypervisor. The maximum > frame number to expect can be calculated from max_page, mem_hotplug > and the maximum physical address from cpuid node 0x80000008. If > CONFIG_BIGMEM isn't defined in Xen it is 16TB max. > > The question is how to present this value to a guest. IMHO something > like the maximum address width similar to cpuid node 0x80000008 > would be fine. It could be above width for pv guests and the max. > memory address of the guest for HVM guests (adding a cap for those > wouldn't be the worst idea, I guess). > > What about a new subop of the xen_version hypercall? I don't see how that would be a good fit; instead, with the CPUID similarity you mention, why not provide the information in one of Xen's CPUID leaves? Otoh I wonder whether returning max_page from XENMEM_maximum_ram_page is really a good idea, if later on that value may increase, so perhaps that op should take mem_hotplug into account. Jan
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [Xen-devel] [PATCH 4/4] xen: select grant interface version Andrew Cooper <andrew.cooper3@citrix.com> - 2017-09-12 21:00 +0200
Re: [Xen-devel] [PATCH 4/4] xen: select grant interface version Juergen Gross <jgross@suse.com> - 2017-09-13 11:30 +0200
Re: [Xen-devel] [PATCH 4/4] xen: select grant interface version Juergen Gross <jgross@suse.com> - 2017-09-15 15:10 +0200
Re: [Xen-devel] [PATCH 4/4] xen: select grant interface version Juergen Gross <jgross@suse.com> - 2017-09-15 15:30 +0200
Re: [Xen-devel] [PATCH 4/4] xen: select grant interface version "Jan Beulich" <JBeulich@suse.com> - 2017-09-15 15:30 +0200
csiph-web