mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
edf5b22022
commit
2c5119d637
1 file changed
+2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||