From: "Dan Magenheimer" <dan.magenheimer@oracle.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: [PATCH] 3.1.3 (and ??) timer_mode fix in xend for virt-install
Date: Fri, 18 Jan 2008 14:22:36 -0700 [thread overview]
Message-ID: <20080118142236640.00000001968@djm-pc> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 324 bytes --]
We have found that virt-install fails to create a domain with 3.1-testing since the timer_mode patches went in.
This patch allows virt-install to run properly again.
Please apply prior to 3.1.3 release. Though untested, it appears from source examination that the patch is also required on 3.2 and -unstable.
Dan
[-- Attachment #1.2: Type: text/html, Size: 1171 bytes --]
[-- Attachment #2: xen-virt-install-timer-mode.patch --]
[-- Type: application/octet-stream, Size: 1139 bytes --]
diff -Naur a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py 2008-01-18 13:43:47.000000000 -0700
+++ b/tools/python/xen/xend/XendConfig.py 2008-01-18 13:35:21.000000000 -0700
@@ -319,6 +319,7 @@
'shadow_memory': 0,
'memory_static_max': 0,
'memory_dynamic_max': 0,
+ 'timer_mode': 0,
'devices': {},
'security': None,
'on_xend_start': 'ignore',
diff -Naur a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py 2008-01-18 13:43:27.000000000 -0700
+++ b/tools/python/xen/xend/XendDomainInfo.py 2008-01-18 13:37:01.000000000 -0700
@@ -1542,7 +1542,7 @@
# Set timer configration of domain
if hvm:
xc.hvm_set_param(self.domid, HVM_PARAM_TIMER_MODE,
- long(self.info["platform"].get("timer_mode")))
+ long(self.info['timer_mode']))
# Set maximum number of vcpus in domain
xc.domain_max_vcpus(self.domid, int(self.info['VCPUs_max']))
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2008-01-18 21:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 21:22 Dan Magenheimer [this message]
2008-01-18 21:28 ` [PATCH] 3.1.3 (and ??) timer_mode fix in xend for virt-install Keir Fraser
2008-01-18 21:41 ` Dan Magenheimer
2008-01-18 21:59 ` Daniel P. Berrange
2008-01-18 22:09 ` Keir Fraser
2008-01-18 22:13 ` Dan Magenheimer
2008-01-18 22:19 ` Keir Fraser
2008-01-18 22:20 ` Daniel P. Berrange
2008-01-18 22:39 ` Dan Magenheimer
2008-01-18 22:34 ` Daniel P. Berrange
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=20080118142236640.00000001968@djm-pc \
--to=dan.magenheimer@oracle.com \
--cc=xen-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.