[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xc_resume: fix modify_returncode when PV guest width != host width


  • To: Brendan Cully <brendan@xxxxxxxxx>, Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Wed, 04 Nov 2009 22:09:58 +0000
  • Cc:
  • Delivery-date: Wed, 04 Nov 2009 14:10:34 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acpdkl23UZi5Qf+BQ+SXajqtK7xO4QACS4QL
  • Thread-topic: [Xen-devel] [PATCH] xc_resume: fix modify_returncode when PV guest width != host width

On 04/11/2009 21:03, "Brendan Cully" <brendan@xxxxxxxxx> wrote:

> It seems that xm save -c breaks PV guests when their address width
> does not match that of domain 0. It looks to me like modify_returncode
> is treating the guest VCPU context as native format, but honestly I
> don't quite understand the purpose of vcpu_guest_context_any_t.c.
> 
> I suspect I'm missing something obvious about how the compat code is
> supposed to work, but at any rate, the attached patch fixes things for
> me.

No, the code's just stupid and broken. There's a similar bug in
xc_domain_resume_any(), accessing ctxt.c.user_regs.edx. I will fix both.

 Thanks,
 Keir
 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.