Home
last modified time | relevance | path

Searched hist:"22227 f12" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/include/sysemu/
H A Ddump.h22227f12 Tue May 20 06:39:43 CDT 2014 Laszlo Ersek <lersek@redhat.com> dump: eliminate DumpState.page_shift ("guest's page shift")

Just use TARGET_PAGE_BITS.

"DumpState.page_shift" used to have type "uint32_t", while the replacement
TARGET_PAGE_BITS has type "int". Since "DumpState.page_shift" was only
used as bit shift counts in the paddr_to_pfn() and pfn_to_paddr() macros,
this is safe.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>