From: Liliang <liangx.z.li@intel.com>
To: xen-devel@lists.xen.org
Cc: Li Liang <liangx.z.li@intel.com>, keir@xen.org, jbeulich@suse.com
Subject: [PATCH] x86/HVM: Fixed the bug which cause the nested hvm guest fail to boot
Date: Mon, 18 Aug 2014 19:11:54 +0800 [thread overview]
Message-ID: <1408360314-25784-1-git-send-email-liangx.z.li@intel.com> (raw)
From: Li Liang <liangx.z.li@intel.com>
The function memory_type_changed should not be called in hvm_set_guest_pat.
or the cache will be flushed excessively and make the nested guest very slowly,
just like blocked.
Signed-off-by: Li Liang <liangx.z.li@intel.com>
---
xen/arch/x86/hvm/hvm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index d40c48e..1a0534b 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -257,7 +257,6 @@ int hvm_set_guest_pat(struct vcpu *v, u64 guest_pat)
if ( !hvm_funcs.set_guest_pat(v, guest_pat) )
v->arch.hvm_vcpu.pat_cr = guest_pat;
- memory_type_changed(v->domain);
return 1;
}
--
1.9.1
next reply other threads:[~2014-08-18 11:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-18 11:11 Liliang [this message]
2014-08-18 11:26 ` [PATCH] x86/HVM: Fixed the bug which cause the nested hvm guest fail to boot Andrew Cooper
2014-08-18 13:08 ` Jan Beulich
2014-08-18 13:31 ` Jan Beulich
2014-08-25 8:08 ` Olaf Hering
2014-08-25 8:11 ` Jan Beulich
-- strict thread matches above, loose matches on Subject: below --
2014-08-19 2:32 Liliang
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=1408360314-25784-1-git-send-email-liangx.z.li@intel.com \
--to=liangx.z.li@intel.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.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;
as well as URLs for NNTP newsgroup(s).