diff --git a/linux-ramdump-parser-v2/ramdump.py b/linux-ramdump-parser-v2/ramdump.py
index a0cdaa9f4ae1a31bc082c1049f6efccc726eb5ae..71d89b9c95f932511086fa0ac3a7a26d020c9895 100644
--- a/linux-ramdump-parser-v2/ramdump.py
+++ b/linux-ramdump-parser-v2/ramdump.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
+# Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 and
@@ -808,6 +808,10 @@ class RamDump():
         return True
 
     def virt_to_phys(self, virt):
+        if isinstance(virt, basestring):
+            virt = self.addr_lookup(virt)
+            if virt is None:
+                return
         return self.mmu.virt_to_phys(virt)
 
     def setup_symbol_tables(self):