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

Re: [Xen-devel] [PATCH][SVM] fix guest hang



Good catch. Actually I think it is better to clear interrupt_shadow in
update_guest_eip. I did this, plus a few other cleanups as c/s 16398 in the
unstable staging tree. Please take a look and make sure I didn't screw up.

 Thanks,
 Keir

On 20/11/07 12:56, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

> 
> Hi Keir!
> 
> Attached patch fixes a boot hang we have seen with SLES 9.3 and FreeBSD HVM
> guests. Both are 32bit guests and run with a 64bit hypervisor.
> 
> The patch does the following:
> 1) Cache current vcpu in svm_vmexit_do_hlt
> 2) Check for interrupt shadow in svm_vmexit_do_hlt and handle it like a
>     pending interrupt
> 
> The boot hang happens when the hlt is intercepted and the interrupt shadow
> field in vmcb is set, then the guest waits forever for the next timer
> interrupt.
> 
> Change 1) is a cleanup, 2) is the fix
> 
> Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
> 



_______________________________________________
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®.