mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
[IA64] Fix getvcpucontext hypercall
NaT bits for r1-r31 from xc_vcpu_getcontext() are broken. HVM domain is confused by unknown Nat consumption fault after domain restore or migration. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
This commit is contained in:
1 parent
9fc6c6d6f6
commit
22ac8aab98
1 file changed
-2
@@ -901,8 +901,6 @@ void arch_get_info_guest(struct vcpu *v, vcpu_guest_context_u c)
|
||||
* uregs->r[4-7] and memory stack or only in memory stack.
|
||||
* So it is ok to get them from memory stack.
|
||||
*/
|
||||
c.nat->regs.nats = uregs->eml_unat;
|
||||
|
||||
if (vcpu_has_not_run(v)) {
|
||||
c.nat->regs.r[4] = sw->r4;
|
||||
c.nat->regs.r[5] = sw->r5;
|
||||
|
||||