From: Ian Campbell <Ian.Campbell@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Lars Kurth <lars.kurth.xen@gmail.com>,
xen-users@lists.xen.org, peter <peter@perkbv.com>,
xen-devel@lists.xen.org
Subject: Re: [Xen-users] XEN/arm XENFB support
Date: Tue, 17 Dec 2013 16:50:43 +0000 [thread overview]
Message-ID: <1387299043.1025.13.camel@dagon.hellion.org.uk> (raw)
In-Reply-To: <alpine.DEB.2.02.1312171635470.8667@kaball.uk.xensource.com>
On Tue, 2013-12-17 at 16:42 +0000, Stefano Stabellini wrote:
> diff --git a/xen-all.c b/xen-all.c
> index 4a594bd..d45180d 100644
> --- a/xen-all.c
> +++ b/xen-all.c
> @@ -381,8 +381,6 @@ static int xen_remove_from_physmap(XenIOState *state,
>
> rc = xc_domain_add_to_physmap(xen_xc, xen_domid, XENMAPSPACE_gmfn, idx, gpfn);
> if (rc) {
> - fprintf(stderr, "add_to_physmap MFN %"PRI_xen_pfn" to PFN %"
> - PRI_xen_pfn" failed: %d\n", idx, gpfn, rc);
This message seemed useful to me...
> return -rc;
> }
> }
>
> diff --git a/xen-mapcache.c b/xen-mapcache.c
> index eda914a..baea376 100644
> --- a/xen-mapcache.c
> +++ b/xen-mapcache.c
> @@ -33,13 +33,8 @@
> # define DPRINTF(fmt, ...) do { } while (0)
> #endif
>
> -#if defined(__i386__)
> # define MCACHE_BUCKET_SHIFT 16
> # define MCACHE_MAX_SIZE (1UL<<31) /* 2GB Cap */
> -#elif defined(__x86_64__)
> -# define MCACHE_BUCKET_SHIFT 20
> -# define MCACHE_MAX_SIZE (1UL<<35) /* 32GB Cap */
> -#endif
This bit seems a unrelated? Or should it really be adding __arm__ and
__aarch64__ bits and this was just a quick hack?
It'd be good if someone would pick up Daniel De Graaf's frontend patches
(see earlier in the thread) to use grants instead of priv mappings and
implement the matching backend stuff in qemu...
Ian.
next prev parent reply other threads:[~2013-12-17 16:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <WC20131216081609.85000C@perkbv.com>
2013-12-16 8:45 ` [Xen-users] XEN/arm XENFB support Lars Kurth
2013-12-16 9:59 ` Ian Campbell
2013-12-17 7:20 ` peter
2013-12-17 9:53 ` Ian Campbell
2013-12-17 15:55 ` Stefano Stabellini
2013-12-17 16:42 ` Stefano Stabellini
2013-12-17 16:50 ` Ian Campbell [this message]
2013-12-17 16:54 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1387299043.1025.13.camel@dagon.hellion.org.uk \
--to=ian.campbell@citrix.com \
--cc=lars.kurth.xen@gmail.com \
--cc=peter@perkbv.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
--cc=xen-users@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.