• A
    exec: fix code tlb entry misused as iotlb in get_page_addr_code() · ce5d64c2
    Avi Kivity 提交于
    get_page_addr_code() reads a code tlb entry, but interprets it as an
    iotlb entry.  This works by accident since the low bits of a RAM code
    tlb entry are clear, and match a RAM iotlb entry.  This accident is
    about to unhappen, so fix the code to use an iotlb entry (using the
    code entry with TLB_MMIO may fail if the page is a watchpoint).
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    ce5d64c2
exec.c 136.5 KB