aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-all.c b/kvm-all.c
index 7198b32..e5c0d36 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -550,7 +550,7 @@ void kvm_set_phys_mem(target_phys_addr_t start_addr,
mem = kvm_lookup_slot(s, start_addr);
if (mem) {
- if ((flags == IO_MEM_UNASSIGNED) || (flags >= TLB_MMIO)) {
+ if (flags >= IO_MEM_UNASSIGNED) {
mem->memory_size = 0;
mem->start_addr = start_addr;
mem->phys_offset = 0;