[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:
Alex Williamson committed 2008-02-19 09:28:09 -07:00
1 parent 9fc6c6d6f6
commit 22ac8aab98
1 file changed
-2
-2
View File
@@ -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;
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.