]> Git Repo - qemu.git/blobdiff - disas.h
savevm: Survive hot-unplug of snapshot device
[qemu.git] / disas.h
diff --git a/disas.h b/disas.h
index 06abab21ebc6032763747b1d06c62aa24fde7cd2..6a9332d6ccbd2a33700dc62a56137d595a46aa2e 100644 (file)
--- a/disas.h
+++ b/disas.h
@@ -22,7 +22,11 @@ struct syminfo;
 struct elf32_sym;
 struct elf64_sym;
 
+#if defined(CONFIG_USER_ONLY)
+typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_ulong orig_addr);
+#else
 typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_phys_addr_t orig_addr);
+#endif
 
 struct syminfo {
     lookup_symbol_t lookup_symbol;
This page took 0.01985 seconds and 4 git commands to generate.