From: "Simon Martin" Subject: Stack switching in a PV guest Date: Mon, 16 Dec 2013 13:31:57 +0000 Message-ID: Reply-To: Simon Martin Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3714500699779309428==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============3714500699779309428== Content-Type: multipart/alternative; boundary="------=_MBB4F35862-9F56-4150-95FF-94030EFF80B4" --------=_MBB4F35862-9F56-4150-95FF-94030EFF80B4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; format=flowed; charset=utf-8 Hi all, I am currently trying to implement multitasking inside my little PV.=20 This is done by a a simple stack switch. Whenever I touch the stack in the PV it crashes. I assume that this is=20 due to the iret at the end of the event handler returning control to the= =20 Hypervisor. Can anyone point me in the right direction to sort this out=20 please. Regards. -- _ _ Debian GNU User Simon Martin | | (_)_ __ _ ___ __ Project Manager | | | | '_ \| | | \ \/ / Milliways | |___| | | | | |_| |> < mailto: smartin@milliways.cl |_____|_|_| |_|\__,_/_/\_\ Si Hoc Legere Scis Nimium Eruditionis Habes --------=_MBB4F35862-9F56-4150-95FF-94030EFF80B4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hi all,
 
I am currently trying to implement multitasking inside my little PV.= This is done by a a simple stack switch.
 
Whenever I touch the stack in the PV it crashes. I assume that this= is due to the iret at the end of the event handler returning control to= the Hypervisor. Can anyone point me in the right direction to sort this= out please.
 
Regards.
 
 
--
 _  &= nbsp;  _  Debian GNU User   Simon Martin
| | &n= bsp; (_)_ __  _   ___  __  Project Manager
|= |   | | '_ \| | | \ \/ /  Milliways
| |___| | | | | |_|= |>  <   mailto: smartin@milliways.cl
|_____|_|_|= |_|\__,_/_/\_\
Si Hoc Legere Scis Nimium Eruditionis Habes
 
--------=_MBB4F35862-9F56-4150-95FF-94030EFF80B4-- --===============3714500699779309428== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3714500699779309428==--