|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] PATCH: Fix an memory attribute issue.
PATCH: Fix an memory attribute issue.
We should ensure Qemu and Guest use same attribute for accessing
the VGA ram, otherwise, host may hang.
Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
diff -r a6b1be5a83de xen/arch/ia64/vmx/vtlb.c
--- a/xen/arch/ia64/vmx/vtlb.c Wed Oct 29 11:02:23 2008 +0900
+++ b/xen/arch/ia64/vmx/vtlb.c Wed Oct 29 16:14:34 2008 +0800
@@ -522,7 +522,7 @@
* which is required by vga acceleration since qemu maps shared
* vram buffer with WB.
*/
- if (mfn_valid(maddr >> PAGE_SHIFT) && phy_pte.ma == VA_MATTR_NATPAGE)
+ if (mfn_valid(maddr >> PAGE_SHIFT) && phy_pte.ma != VA_MATTR_NATPAGE)
phy_pte.ma = VA_MATTR_WB;
maddr = ((maddr & _PAGE_PPN_MASK) & PAGE_MASK) | (paddr & ~PAGE_MASK);
mem_attr_fix.patch
Description: mem_attr_fix.patch
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] PATCH: Fix an memory attribute issue.,
Zhang, Xiantao <=
|
Previous by Date: |
[Xen-ia64-devel] Xen/IPF Unstable CS#18694, Linux#706, ioemu#b4d410a1.. Status --- 1 new, Zhang, Jingke |
Next by Date: |
Re: [Xen-ia64-devel] PATCH: Fix an memory attribute issue., Isaku Yamahata |
Previous by Thread: |
[Xen-ia64-devel] Xen/IPF Unstable CS#18694, Linux#706, ioemu#b4d410a1.. Status --- 1 new, Zhang, Jingke |
Next by Thread: |
Re: [Xen-ia64-devel] PATCH: Fix an memory attribute issue., Isaku Yamahata |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|
|
|