aboutsummaryrefslogtreecommitdiff
path: root/hw/xen
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2013-04-25 16:05:29 +0200
committerAndreas Färber <afaerber@suse.de>2013-05-01 13:04:19 +0200
commitbaaeda08ff34ad17150b50a6f52d0faec9f3db36 (patch)
treee46a7de630196200667e9983967f2a14c5527529 /hw/xen
parent8d6d4980c9421f3b9d1800dbc320da6a0bf754bd (diff)
downloadqemu-baaeda08ff34ad17150b50a6f52d0faec9f3db36.zip
qemu-baaeda08ff34ad17150b50a6f52d0faec9f3db36.tar.gz
qemu-baaeda08ff34ad17150b50a6f52d0faec9f3db36.tar.bz2
target-i386: Replace MSI_SPACE_SIZE with APIC_SPACE_SIZE
Put APIC_SPACE_SIZE in a public header so that it can be reused elsewhere later. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/xen')
-rw-r--r--hw/xen/xen_apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen/xen_apic.c b/hw/xen/xen_apic.c
index a2eb8a1..a958782 100644
--- a/hw/xen/xen_apic.c
+++ b/hw/xen/xen_apic.c
@@ -39,7 +39,7 @@ static const MemoryRegionOps xen_apic_io_ops = {
static void xen_apic_init(APICCommonState *s)
{
memory_region_init_io(&s->io_memory, &xen_apic_io_ops, s, "xen-apic-msi",
- MSI_SPACE_SIZE);
+ APIC_SPACE_SIZE);
#if defined(CONFIG_XEN_CTRL_INTERFACE_VERSION) \
&& CONFIG_XEN_CTRL_INTERFACE_VERSION >= 420