aboutsummaryrefslogtreecommitdiff
path: root/disas/m68k.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2016-07-11 20:28:46 +0100
committerEduardo Habkost <ehabkost@redhat.com>2016-07-20 11:58:44 -0300
commit11f6fee576680a2d482123535da920f8ceb33eb5 (patch)
treeccaeace2ef5f45b7135936b9bae859d9527ab2ff /disas/m68k.c
parent9f3aab58539b4cc716e42e772be8116dc2e7d159 (diff)
target-i386: Set physical address bits based on host
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 <dgilbert@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'disas/m68k.c')
0 files changed, 0 insertions, 0 deletions