projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67848a2
)
x86/mem_sharing: fix wrong field name used in 2c5119d
author
Tamas K Lengyel
<tamas.lengyel@intel.com>
Wed, 13 Jan 2021 02:28:45 +0000
(18:28 -0800)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Wed, 13 Jan 2021 19:30:50 +0000
(19:30 +0000)
The arch_domain struct has "msr", not "msrs".
Spotted by a TravisCI Randconfig build.
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Tamas K Lengyel <tamas.lengyel@intel.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm/mem_sharing.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/mem_sharing.c
b/xen/arch/x86/mm/mem_sharing.c
index a98a1709c2d1f4ee18605c9a3836a0a81b013cb5..c8a6d11b90c4429fb6f8a4836bc7cd96d19e0684 100644
(file)
--- a/
xen/arch/x86/mm/mem_sharing.c
+++ b/
xen/arch/x86/mm/mem_sharing.c
@@
-1781,7
+1781,7
@@
static int fork(struct domain *cd, struct domain *d)
domain_pause(d);
cd->max_pages = d->max_pages;
*cd->arch.cpuid = *d->arch.cpuid;
- *cd->arch.msr
s = *d->arch.msrs
;
+ *cd->arch.msr
= *d->arch.msr
;
cd->parent = d;
}