[RFC PATCH 2/2] qemu: Add support for max physical address size

Dario Faggioli dfaggioli at suse.com
Wed Nov 4 17:08:47 UTC 2020


On Mon, 2020-11-02 at 09:14 +0100, Christian Ehrhardt wrote:
> 
> On Thu, Oct 29, 2020 at 5:07 PM Dario Faggioli <dfaggioli at suse.com>
> wrote:
> > This patch maps /domain/cpu/maxphysaddr into -cpu parameters:
> > 
> >   - <maxphysaddr mode='passthrough'/> becomes host-phys-bits=on
> >   - <maxphysaddr mode='emualte' bits='42'/> becomes phys-bits=42
> > 
> 
> I can't thank you enough Dario for starting this,
> I have waited for this quite a while and never found the time for it
> myself :-/
>
Hi!

Yeah, it was sitting in my TODO list for a little while as well.

Then I decided to mention that I'd do it in my talk at KVM Forum...
Which is usually a pretty good push for actually do it! ;-P
> 
> Looking at my todo notes I wondered if while touching it we should
> right away also
> add host-phys-bits-limit in the same spot?
> See https://git.qemu.org/?p=qemu.git;a=commit;h=258fe08bd341d
>  
Yes, I'm aware of it, and it looks easy to support.

And I agree that we can do it contextually.

I even have it in drafted patches, but I decided to fire these out as
early as possible, to capture some early feedback.

Thanks and Regards
-- 
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201104/aaac1d28/attachment-0001.sig>


More information about the libvir-list mailing list