All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@hp.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>,
	xen-ia64-devel <xen-ia64-devel@lists.xensource.com>
Subject: [PATCH] diable HVM auto-balloon on ia64
Date: Sun, 21 May 2006 15:07:19 -0600	[thread overview]
Message-ID: <1148245639.13851.65.camel@localhost> (raw)


  The HVM auto-ballooning is causing problems for paravirtualized guests
on HVM enabled ia64 systems.  This allows them to boot again.  Maybe we
can take advantage of this when we have better ballooning support on
xen/ia64.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
---

diff -r 4dcb93547710 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py	Sun May 21 09:55:15 2006 +0100
+++ b/tools/python/xen/xend/image.py	Sun May 21 14:25:19 2006 -0600
@@ -146,7 +146,7 @@ class ImageHandler:
         """@return The memory required, in KiB, by the domain to store the
         given amount, also in KiB.  This is normally just mem, but if HVM is
         supported, keep a little extra free."""
-        if 'hvm' in xc.xeninfo()['xen_caps']:
+        if 'hvm' in xc.xeninfo()['xen_caps'] and os.uname()[4] != 'ia64':
             mem_kb += 4*1024;
         return mem_kb

             reply	other threads:[~2006-05-21 21:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-21 21:07 Alex Williamson [this message]
2006-05-21 22:29 ` [Xen-ia64-devel] [PATCH] diable HVM auto-balloon on ia64 Alex Williamson

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=1148245639.13851.65.camel@localhost \
    --to=alex.williamson@hp.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-ia64-devel@lists.xensource.com \
    /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.