x86/mem_sharing: Copy CPUID and MSR configuration during vm forking

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-05 23:00:27 +00:00
1 parent edf5b22022
commit 2c5119d637
1 file changed
+2
+2
View File
@@ -1764,6 +1764,8 @@ 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->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.