diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-14 11:22:29 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-03-09 18:51:45 +0100 |
commit | b934c3fa21dbe23a17c9fdeccb85fb46418bc699 (patch) | |
tree | 3ff3affedda613adbe13e286fb2bfe18c587614c /include/hw/xen | |
parent | 9cd909ac3505c3561570793753c70ceafdd32eda (diff) |
hw/xen: Rename 'ram_memory' global variable as 'xen_memory'
To avoid a potential global variable shadow in
hw/i386/pc_piix.c::pc_init1(), rename Xen's
"ram_memory" as "xen_memory".
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20231114143816.71079-11-philmd@linaro.org>
Diffstat (limited to 'include/hw/xen')
-rw-r--r-- | include/hw/xen/xen-hvm-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/xen/xen-hvm-common.h b/include/hw/xen/xen-hvm-common.h index 4b1d728f35..65a51aac2e 100644 --- a/include/hw/xen/xen-hvm-common.h +++ b/include/hw/xen/xen-hvm-common.h @@ -15,7 +15,7 @@ #include "qemu/error-report.h" #include <xen/hvm/ioreq.h> -extern MemoryRegion ram_memory; +extern MemoryRegion xen_memory; extern MemoryListener xen_io_listener; extern DeviceListener xen_device_listener; |