From: Don Slutz <dslutz@verizon.com>
To: crash-utility@redhat.com
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
Daniel Kiper <daniel.kiper@oracle.com>,
kexec@lists.infradead.org, Don Slutz <dslutz@verizon.com>,
xen-devel@lists.xen.org
Subject: [PATCH 1/4] Make domian.is_hvm optional
Date: Sat, 4 Jan 2014 14:11:23 -0500 [thread overview]
Message-ID: <1388862686-1832-2-git-send-email-dslutz@verizon.com> (raw)
In-Reply-To: <1388862686-1832-1-git-send-email-dslutz@verizon.com>
---
xen_hyper.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xen_hyper.c b/xen_hyper.c
index 7c7d3e1..3d56516 100644
--- a/xen_hyper.c
+++ b/xen_hyper.c
@@ -1247,7 +1247,8 @@ xen_hyper_store_domain_context(struct xen_hyper_domain_context *dc,
dc->domain_flags = ULONG(dp + XEN_HYPER_OFFSET(domain_domain_flags));
else if (XEN_HYPER_VALID_MEMBER(domain_is_shut_down)) {
dc->domain_flags = 0;
- if (*(dp + XEN_HYPER_OFFSET(domain_is_hvm))) {
+ if (XEN_HYPER_VALID_MEMBER(domain_is_hvm) &&
+ *(dp + XEN_HYPER_OFFSET(domain_is_hvm))) {
dc->domain_flags |= XEN_HYPER_DOMS_HVM;
} else if (*(dp + XEN_HYPER_OFFSET(domain_is_privileged))) {
dc->domain_flags |= XEN_HYPER_DOMS_privileged;
--
1.8.4
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2014-01-04 19:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-04 19:11 [PATCH 0/4] Enable use of crash on xen 4.4.0 vmcore Don Slutz
2014-01-04 19:11 ` Don Slutz [this message]
2014-01-04 21:13 ` [Xen-devel] [PATCH 1/4] Make domian.is_hvm optional Konrad Rzeszutek Wilk
2014-01-04 21:26 ` Don Slutz
2014-01-04 19:11 ` [PATCH 2/4] xen: Fix offset output to be decimal Don Slutz
2014-01-04 19:11 ` [PATCH 3/4] xen: set all domain_flags, not just the 1st Don Slutz
2014-01-04 19:11 ` [PATCH 4/4] Add basic domain.guest_type support Don Slutz
2014-01-06 17:05 ` [Crash-utility] [PATCH 0/4] Enable use of crash on xen 4.4.0 vmcore Dave Anderson
2014-01-06 19:45 ` Don Slutz
2014-01-06 20:28 ` Dave Anderson
2014-01-08 20:16 ` Daniel Kiper
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=1388862686-1832-2-git-send-email-dslutz@verizon.com \
--to=dslutz@verizon.com \
--cc=andrew.cooper3@citrix.com \
--cc=crash-utility@redhat.com \
--cc=daniel.kiper@oracle.com \
--cc=kexec@lists.infradead.org \
--cc=xen-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox