[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] x86: Set physical address bits based on host
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH v5] x86: Set physical address bits based on host |
Date: |
Wed, 13 Jul 2016 11:20:53 -0300 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
On Mon, Jul 11, 2016 at 08:28:46PM +0100, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> Add the host-phys-bits boolean property, if true, take phys-bits
> from the hosts physical bits value, overriding either the default
> or the user specified value.
>
> We can also use the value we read from the host to check the users
> explicitly set value and warn them if it doesn't match.
>
> Note:
> a) We only read the hosts value in KVM mode (because on non-x86
> we get an abort if we try)
> b) We don't warn about trying to use host-phys-bits in TCG mode,
> we just fall back to the TCG default. This allows the machine
> type to set the host-phys-bits flag if it wants and then to
> work in both TCG and KVM.
>
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Applied to x86-next. Thanks!
--
Eduardo