diff options
| author | Cameron Esfahani <dirty@apple.com> | 2019-11-24 12:05:23 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-11-26 09:58:33 +0100 |
| commit | fbafbb6db77428d9a0bf22ea8e9c4a07140ae7d9 (patch) | |
| tree | 7fa26d7b7b619a103cb9ef8fb06b2643022cc655 /hw/net/virtio-net.c | |
| parent | c6f3215ffa3064fd04e00d2b159c3b90c3c9b1a5 (diff) | |
| download | focaccia-qemu-fbafbb6db77428d9a0bf22ea8e9c4a07140ae7d9.tar.gz focaccia-qemu-fbafbb6db77428d9a0bf22ea8e9c4a07140ae7d9.zip | |
hvf: non-RAM, non-ROMD memory ranges are now correctly mapped in
If an area is non-RAM and non-ROMD, then remove mappings so accesses will trap and can be emulated. Change hvf_find_overlap_slot() to take a size instead of an end address: it wouldn't return a slot because callers would pass the same address for start and end. Don't always map area as read/write/execute, respect area flags. Signed-off-by: Cameron Esfahani <dirty@apple.com> Message-Id: <1d8476c8f86959273fbdf23c86f8b4b611f5e2e1.1574625592.git.dirty@apple.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions