x86/mem_sharing: fix wrong field name used in 2c5119d

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>
This commit is contained in:
Tamas K Lengyel authored and Andrew Cooper committed 2021-01-13 19:30:50 +00:00
1 parent 67848a2551
commit bc70924c79
1 file changed
+1 -1
+1 -1
View File
@@ -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.msrs = *d->arch.msrs;
*cd->arch.msr = *d->arch.msr;
cd->parent = d;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.