diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-11-13 12:32:19 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-17 17:33:48 +0100 |
commit | 13829020556e1571c78802dd4b12e0fbb6c49904 (patch) | |
tree | ac75bc125a06c91317873c13d6f35d732c7a80a6 /linux-user | |
parent | c30f0d182f82d51ca5de79814860e5942e257b59 (diff) | |
download | qemu-13829020556e1571c78802dd4b12e0fbb6c49904.zip qemu-13829020556e1571c78802dd4b12e0fbb6c49904.tar.gz qemu-13829020556e1571c78802dd4b12e0fbb6c49904.tar.bz2 |
user: introduce "-d page"
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/elfload.c | 8 | ||||
-rw-r--r-- | linux-user/main.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 8b17c0e..b90be12 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1743,7 +1743,7 @@ unsigned long init_guest_space(unsigned long host_start, } } - qemu_log("Reserved 0x%lx bytes of guest address space\n", host_size); + qemu_log_mask(CPU_LOG_PAGE, "Reserved 0x%lx bytes of guest address space\n", host_size); return real_start; } @@ -1784,9 +1784,9 @@ static void probe_guest_base(const char *image_name, } guest_base = real_start - loaddr; - qemu_log("Relocating guest address space from 0x" - TARGET_ABI_FMT_lx " to 0x%lx\n", - loaddr, real_start); + qemu_log_mask(CPU_LOG_PAGE, "Relocating guest address space from 0x" + TARGET_ABI_FMT_lx " to 0x%lx\n", + loaddr, real_start); } return; diff --git a/linux-user/main.c b/linux-user/main.c index a04e91e..6783722 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -4241,7 +4241,7 @@ int main(int argc, char **argv, char **envp) unsigned long tmp; if (fscanf(fp, "%lu", &tmp) == 1) { mmap_min_addr = tmp; - qemu_log("host mmap_min_addr=0x%lx\n", mmap_min_addr); + qemu_log_mask(CPU_LOG_PAGE, "host mmap_min_addr=0x%lx\n", mmap_min_addr); } fclose(fp); } @@ -4300,7 +4300,7 @@ int main(int argc, char **argv, char **envp) free(target_environ); - if (qemu_log_enabled()) { + if (qemu_loglevel_mask(CPU_LOG_PAGE)) { qemu_log("guest_base 0x%lx\n", guest_base); log_page_dump(); |